This module does all error handling.
More...
This module does all error handling.
- Author
- Martin Preussmarti.nosp@m.n@li.nosp@m.bchip.nosp@m.card.nosp@m..de
◆ GWEN_Error_SimpleToString()
Returns a (very) short string describing the given GWEN error code, or "Unknown error" for unknown codes.
- Parameters
-
- Returns
- A fixed static string that must not be free'd
◆ GWEN_Error_ToString()
GWENHYWFAR_API int GWEN_Error_ToString |
( |
int |
c, |
|
|
char * |
buffer, |
|
|
int |
bsize |
|
) |
| |
Dumps the string corresponding to the given erro code.
- Returns
- 1 detailed error message created, 0 otherwise
- Parameters
-
c | error code |
buffer | pointer to a buffer to receive the message |
bsize | size of that buffer in bytes |