CUnit Programmers Reference
3.0
|
Error handling functions (implementation). More...
Functions | |
static const char * | get_error_desc (CU_ErrorCode iError) |
Internal function to look up the error message for a specified error code. More... | |
CU_EXPORT void | CU_set_error (CU_ErrorCode error) |
Sets the CUnit framework error code. More... | |
CU_EXPORT CU_ErrorCode | CU_get_error (void) |
Retrieves the current CUnit framework error code. More... | |
CU_EXPORT const char * | CU_get_error_msg (void) |
Retrieves a message corresponding to the current framework error code. More... | |
CU_EXPORT void | CU_set_error_action (CU_ErrorAction action) |
Sets the action to take when a framework error condition occurs. More... | |
CU_EXPORT CU_ErrorAction | CU_get_error_action (void) |
Retrieves the current framework error action code. More... | |
Variables | |
static CU_ErrorCode | g_error_number = CUE_SUCCESS |
Local variable holding the current error code. | |
static CU_ErrorAction | g_error_action = CUEA_IGNORE |
Local variable holding the current error action code. | |
Error handling functions (implementation).