REST API HTTP responses ERROR object
April 13, 2023 at 2:39 AMERROR object
The JSON ERROR object is sent in response to a request that can not be executed correctly.
Object definition
Field name | Type | Status | Description |
---|---|---|---|
Result |
string | always | Constant value: error |
Message |
string | option | A string that explains the error. |
Error |
string | option | The error code (numeric or constant name) if available (for PC/SC errors mostly). |
Remark
If the Result
field is success
, not error
, this is in fact a SUCCESS object!