SYNOPSIS
text, code = fgrhandle:lastError()
DESCRIPTION
Requests the status of the last received message. The status is cleared whenever one of the
sending commands executes.
RETURN VALUE
If no error has been stored, returns nil.
If an error has been stored, returns two values, the name of the error and the numeric error code.
Error name | Error code |
---|---|
ErrorBusy | 0x100 |
ErrorTransmitFailed | 0x101 |
ErrorTimeout | 0x102 |
ErrorBadHeader | 0x103 |
ErrorNotImplemented | 0x104 |
ErrorBufferOverrun | 0x105 |
ErrorBadStartSync | 0x106 |
ErrorBadTrailingCharacter | 0x107 |
ErrorBadChecksum | 0x108 |
ErrorBadExtendedChecksum | 0x109 |
ErrorChunkCountInconsistent | 0x10A |
ErrorUnexpectedChunkIndex | 0x10B |