error.h File Reference
#include "../version.h"

Go to the source code of this file.

Namespaces

 OpenSubdiv
 
 OpenSubdiv::OPENSUBDIV_VERSION
 
 OpenSubdiv::OPENSUBDIV_VERSION::Far
 

Typedefs

typedef void(* ErrorCallbackFunc) (ErrorType err, const char *message)
 
typedef void(* WarningCallbackFunc) (const char *message)
 Sets the warning callback function (default is "printf") More...
 

Enumerations

enum  ErrorType {
  FAR_NO_ERROR,
  FAR_FATAL_ERROR,
  FAR_INTERNAL_CODING_ERROR,
  FAR_CODING_ERROR,
  FAR_RUNTIME_ERROR
}
 

Functions

void SetErrorCallback (ErrorCallbackFunc func)
 Sets the error callback function (default is "printf") More...
 
void Error (ErrorType err)
 Sends an OSD error. More...
 
void Error (ErrorType err, const char *format,...)
 Sends an OSD error with a message. More...
 
void SetWarningCallback (WarningCallbackFunc func)
 Sets the warning callback function (default is "printf") More...
 
void Warning (const char *format,...)
 Sends an OSD warning message. More...