Error message specification - PR-21-S

PR-21 Series User Guide

Document code
IM-EN-PR21S
Revision
C
Language
English
Product
PR-21-S
Document type
User guide

If the server (DTR) does not recognize the request or cannot fulfill it, it responds 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 : No sensor (sensor(s) not connected to DTR)
  • 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 Vaisala for more information on these.