OpenGL Volumizer 2.2 Reference Pages


NAME
vzErrorType - Error types used to print error messages.

HEADER FILE
#include <Volumizer2/Error.h>

CLASS DESCRIPTION
Enumerated type representing the types of errors that might have occured. Depending on the type of error, a message string is printed with the corresponding error() or warn() message. Use VZ_UNSPECIFIED_ERROR for errrors which are not of any of the following types.
enum vzErrorType {
    VZ_NO_ERROR = 0,          // no error
    VZ_INVALID_ERROR = 1,     // invalid error 
    VZ_INVALID_ENUM = 2,      // invalid enum provided
    VZ_INVALID_VALUE = 3,     // invalid value supplied
    VZ_INVALID_OPERATION = 4, // operation illegal in current state
    VZ_OUT_OF_MEMORY = 5,     // not enough memory left
    VZ_OUT_OF_RESOURCE = 6,   // some resource is exhausted
    VZ_OS_FAILURE = 7,        // some system service failed    
    VZ_UNIMPLEMENTED = 8,     // some feature is unimplemented
    VZ_UNSPECIFIED_ERROR = 9, // unspecified error
    VZ_MAX_ERROR = 9          // maximum valid error code
 };

Back to Index