PPL C Language Interface
1.2
|
Enumerations | |
enum | ppl_enum_error_code { PPL_ERROR_OUT_OF_MEMORY, PPL_ERROR_INVALID_ARGUMENT, PPL_ERROR_DOMAIN_ERROR, PPL_ERROR_LENGTH_ERROR, PPL_ARITHMETIC_OVERFLOW, PPL_STDIO_ERROR, PPL_ERROR_INTERNAL_ERROR, PPL_ERROR_UNKNOWN_STANDARD_EXCEPTION, PPL_ERROR_UNEXPECTED_ERROR, PPL_TIMEOUT_EXCEPTION, PPL_ERROR_LOGIC_ERROR } |
Defines the error codes that any function may return. More... | |
Functions | |
int | ppl_set_error_handler (void(*h)(enum ppl_enum_error_code code, const char *description)) |
Installs the user-defined error handler pointed at by h . More... | |
Symbolic constants and functions related to error reporting/handling.
enum ppl_enum_error_code |
Defines the error codes that any function may return.
Definition at line 298 of file ppl_c_header.h.
int ppl_set_error_handler | ( | void(*)(enum ppl_enum_error_code code, const char *description) | h | ) |
Installs the user-defined error handler pointed at by h
.
The error handler takes an error code and a textual description that gives further information about the actual error. The C string containing the textual description is read-only and its existence is not guaranteed after the handler has returned.