Keep these in sync with native error constants on both iOS and Android.
| Code | Meaning |
|---|---|
DEVICE_CLIENT_ERROR |
Generic / unknown error. |
DEVICE_CLIENT_NETWORK_ERROR |
Network connectivity failure. |
DEVICE_CLIENT_REQUEST_FAILED |
Server returned a non-success HTTP status. |
DEVICE_CLIENT_INVALID_TOKEN |
SSO token is missing, expired, or rejected. |
DEVICE_CLIENT_DECODING_FAILED |
Native bridge could not parse the server response. |
DEVICE_CLIENT_MISSING_CONFIG |
Required configuration fields were not provided. |
DEVICE_CLIENT_NOT_FOUND |
The requested device does not exist on the server. |
DEVICE_CLIENT_HANDLE_NOT_FOUND |
The native handle id does not correspond to a live client. |
Stable error codes emitted by the Device Client module.