Functions

src/core/errorHandler.c File Reference

Functions

void reportError (const char *msg, char *location, ErrorSeverityType severity)
void reportErrorInt (const char *msg, int value, char *location, ErrorSeverityType severity)

Function Documentation

void reportError ( const char *  msg,
char *  location,
ErrorSeverityType  severity 
)

Report error

Parameters:
[in] msg String containing error message.
[in] location String containing the originating function name.
[in] severity ErrorSeverityType indicates the degree of concern for the error. Corresponds to enum ErrorSeverity.
void reportErrorInt ( const char *  msg,
int  value,
char *  location,
ErrorSeverityType  severity 
)

Report error and include some numeric information in the message.

Parameters:
[in] msg String containing error message.
[in] value Numeric information for inclusion in the message.
[in] location String containing the originating function name.
[in] severity ErrorSeverityType indicates the degree of concern for the error. Corresponds to enum ErrorSeverity.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines