Simple C Expat Wrapper (SCEW)
1.1.7
|
SCEW internal error codes and associated descriptions. More...
Files | |
file | error.h |
SCEW error handling functions. | |
Enumerations | |
enum | scew_error { scew_error_none, scew_error_no_memory, scew_error_io, scew_error_hook, scew_error_expat, scew_error_internal, scew_error_unknown } |
This is the type declaration of the SCEW error. More... | |
Functions | |
SCEW_API scew_error | scew_error_code (void) |
Returns the SCEW internal error code. More... | |
SCEW_API XML_Char const * | scew_error_string (scew_error code) |
Returns a string describing the given internal SCEW error code. More... | |
SCEW internal error codes and associated descriptions.
enum scew_error |
This is the type declaration of the SCEW error.
That is, an enumeration of all SCEW possible errors.
SCEW_API scew_error scew_error_code | ( | void | ) |
Returns the SCEW internal error code.
If the error code returned is scew_error_expat it means that an internal Expat error has occurred, so you will probably want to check Expat error using scew_error_expat_code and scew_error_expat_string.
SCEW_API XML_Char const* scew_error_string | ( | scew_error | code | ) |
Returns a string describing the given internal SCEW error code.