NAME
    cgGetError, cgGetFirstError, cgGetErrorString - get error conditions

SYNOPSIS
      #include <Cg/cg.h>

      CGerror cgGetError();
      CGerror cgGetFirstError()
      const char * cgGetErrorString(CGerror error);

PARAMETERS
    error   Specifies the error number.

DESCRIPTION
    cgGetError returns the last error condition that has occured. The error
    condition is reset after cgGetError is called.

    cgGetFirstError returns the first error condition that has occured since
    cgGetFirstError was previously called.

    In both cases, an error condition of zero (or, equivalently,
    CG_NO_ERROR) means that no error has occurred.

    cgGetErrorString returns a human readable error string for the given
    error condition.

ERRORS
SEE ALSO
    the cgSetErrorHandler manpage

