25 #ifndef OPENSUBDIV3_FAR_ERROR_H
26 #define OPENSUBDIV3_FAR_ERROR_H
28 #include "../version.h"
30 namespace OpenSubdiv {
31 namespace OPENSUBDIV_VERSION {
85 void Warning(
const char *format, ...);
91 using namespace OPENSUBDIV_VERSION;
95 #endif // OPENSUBDIV3_FAR_ERROR_H
void Warning(const char *format,...)
Sends an OSD warning message (internal use only)
Issue a generic programming error, but continue execution.
Issue a generic runtime error, but continue execution.
void SetWarningCallback(WarningCallbackFunc func)
Sets the warning callback function (default is "printf")
Issue an internal programming error, but continue execution.
void SetErrorCallback(ErrorCallbackFunc func)
Sets the error callback function (default is "printf")
Issue a fatal error and end the program.
void Error(ErrorType err, const char *format,...)
Sends an OSD error with a message (internal use only)
void(* WarningCallbackFunc)(const char *message)
The warning callback function type (default is "printf")
void(* ErrorCallbackFunc)(ErrorType err, const char *message)
The error callback function type (default is "printf")