3 error message specification – K-Patents PR-33-S User Manual
Page 38

34
PR-33-S instruction manual
Document/Revision No. Rev. 1.4
Effective: May 15, 2015
8.3 Error message specification
If the server (refractometer) does not recognize the request or cannot fulfill it, it re-
sponds with an error message. The error message has the following keys:
*Error
: integer, error code
0x00000000
: Unknown request
*Error
: integer, error code
0x00000001
: Invalid request (request recognized,
invalid request data)
*Error
: integer, error code
0x00000002
: Invalid sensor number
ErrorMsg
: string, error details
There may also be error-dependent extra keys. Other error codes may be returned.
0x00000003
is to be handled as unknown request. Codes with higher numbers refer
to internal errors; contact K-Patents for more information on these.