Functions

src/core/errorHandler.c File Reference

Functions

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

Function Documentation

void reportError ( const char *  msg,
const 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,
const 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.
void reportErrorNo ( int  errNo,
const char *  value,
const char *  location,
ErrorSeverityType  severity 
)

Report error and include some numeric information in the message.

Parameters:
[in] errNo Standard error number.
[in] value string 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.
void reportErrorStr ( const char *  msg,
const char *  value,
const char *  location,
ErrorSeverityType  severity 
)

Report error and include some text information in the message.

Parameters:
[in] msg String containing error message.
[in] value string 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