25#ifndef OPENSUBDIV3_FAR_ERROR_H
26#define OPENSUBDIV3_FAR_ERROR_H
28#include "../version.h"
31namespace OPENSUBDIV_VERSION {
91using namespace OPENSUBDIV_VERSION;
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 SetErrorCallback(ErrorCallbackFunc func)
Sets the error callback function (default is "printf")
void SetWarningCallback(WarningCallbackFunc func)
Sets the warning callback function (default is "printf")
void Warning(const char *format,...)
Sends an OSD warning message (internal use only)
void(* ErrorCallbackFunc)(ErrorType err, const char *message)
The error callback function type (default is "printf")
@ FAR_FATAL_ERROR
Issue a fatal error and end the program.
@ FAR_INTERNAL_CODING_ERROR
Issue an internal programming error, but continue execution.
@ FAR_CODING_ERROR
Issue a generic programming error, but continue execution.
@ FAR_NO_ERROR
No error. Move along.
@ FAR_RUNTIME_ERROR
Issue a generic runtime error, but continue execution.