HERC_ErrorGetCode
Retrieves the
error code for the most recent Hercules function call.
|
Return value
If no error occured during the last Hercules function call then HERC_OK is
returned, else one of the HERC_ERROR values is returned. See the function
description for an explanation of what the error code means.
Error codes
list
0 |
HERC_OK |
1 |
HERC_ERROR_INIT |
2 |
HERC_ERROR_PORT |
3 |
HERC_ERROR_THREAD |
4 |
HERC_ERROR_DEVICE |
5 |
HERC_ERROR_RANGE |