Axl Error report: Functions to help AXL library to report internal error to the application level.


Functions

void axl_error_free (axlError *_error)
 Allows to release memory allocated by the given axlError variable.
char * axl_error_get (axlError *_error)
 Allows to get current textual error string inside the given axlError value.
int axl_error_get_code (axlError *_error)
 Allows to get current error code from the given axlError value.
void axl_error_new (int code, char *error_code, axlStream *stream, axlError **_error)
 Allows to create a new axlError value that contains an error code and a error string.
bool axl_error_was_ok (axlError *_error)
 Allows to check if the provided reference was used to report an error.