axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
int axl_error_get_code ( axlError _error)

Allows to get current error code from the given axlError value.

If the provided axlError doesn't not contain a valid error information, -1 is returned. Otherwise the specific error code is returned.

Parameters
_errorThe axlError to use, while getting error code inside.
Returns
The error code inside or -1 if fails.