HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EX_Error.h File Reference
+ Include dependency graph for EX_Error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 EXPR
 

Macros

#define EV_NOERROR   0 /* No error */
 
#define EV_ERRSYNTAX   1 /* Syntax error */
 
#define EV_ERRBRACING   2 /* Bracing error */
 
#define EV_ERRNOFUNC   3 /* Unknown function */
 
#define EV_ERRNOOP   4 /* Unknown operator */
 
#define EV_ERRBADTYPE   5 /* Unknown operator */
 
#define EV_ERRBADARGS   6 /* Invalid number of arguments */
 
#define EV_ERRUNKNOWN   7 /* Unknown error */
 
#define EV_ERRRECURSION   8 /* Recursion too deep */
 
#define EV_ERRSTACK   9 /* Stack error */
 
#define EV_ERRBADVAR   10 /* Undefined variable */
 
#define EV_NAN   11
 
#define EV_ERREXTRAJUNK   12
 
#define EV_ERRUNSAFEFUNC   13
 
#define EV_ERRINLINEFUNC   14
 
#define EV_ERRDEADLOCK   15
 
#define EV_ERRCUSTOM   16
 

Functions

EXPR_API const char * ev_GetErrorText (int error_number)
 Retrieve a string representing the error. More...
 
EXPR_API void ev_SetCustomErrorMessage (const char *message, int thread)
 Sets an error, EV_ERRCUSTOM, using the given custom message as the text. More...
 
EXPR_API void ev_ClearCycles (int thread)
 

Variables

EXPR_API
UT_ThreadSpecificValue< int
EXPR::theErrNo
 

Macro Definition Documentation

#define EV_ERRBADARGS   6 /* Invalid number of arguments */

Definition at line 24 of file EX_Error.h.

#define EV_ERRBADTYPE   5 /* Unknown operator */

Definition at line 23 of file EX_Error.h.

#define EV_ERRBADVAR   10 /* Undefined variable */

Definition at line 28 of file EX_Error.h.

#define EV_ERRBRACING   2 /* Bracing error */

Definition at line 20 of file EX_Error.h.

#define EV_ERRCUSTOM   16

Definition at line 34 of file EX_Error.h.

#define EV_ERRDEADLOCK   15

Definition at line 33 of file EX_Error.h.

#define EV_ERREXTRAJUNK   12

Definition at line 30 of file EX_Error.h.

#define EV_ERRINLINEFUNC   14

Definition at line 32 of file EX_Error.h.

#define EV_ERRNOFUNC   3 /* Unknown function */

Definition at line 21 of file EX_Error.h.

#define EV_ERRNOOP   4 /* Unknown operator */

Definition at line 22 of file EX_Error.h.

#define EV_ERRRECURSION   8 /* Recursion too deep */

Definition at line 26 of file EX_Error.h.

#define EV_ERRSTACK   9 /* Stack error */

Definition at line 27 of file EX_Error.h.

#define EV_ERRSYNTAX   1 /* Syntax error */

Definition at line 19 of file EX_Error.h.

#define EV_ERRUNKNOWN   7 /* Unknown error */

Definition at line 25 of file EX_Error.h.

#define EV_ERRUNSAFEFUNC   13

Definition at line 31 of file EX_Error.h.

#define EV_NAN   11

Definition at line 29 of file EX_Error.h.

#define EV_NOERROR   0 /* No error */

Definition at line 18 of file EX_Error.h.

Function Documentation

EXPR_API void ev_ClearCycles ( int  thread)

Clears the cycle detected flag for a particular thread. This will force a more expensive check for cycles next time, but allows us to clear away recursion errors that we dont care about.

EXPR_API const char* ev_GetErrorText ( int  error_number)

Retrieve a string representing the error.

EXPR_API void ev_SetCustomErrorMessage ( const char *  message,
int  thread 
)

Sets an error, EV_ERRCUSTOM, using the given custom message as the text.