Error Response
Description
This response type is returned when an error occurs with any command type.
Response
ErrorResponse | |||
Field Name | Data type | Description | Mandatory? |
---|---|---|---|
errorCode | Int | An Integer representing the error code for a specific error | Y |
errorMessage | String | A description of the error. | N |
Possible Errors
While each operation describes some errors particular to its execution, the following errors are fairly generic and can be seen in a wide variety of operations. This list is a possible super-set of errors that can be thrown and are applicable to all operations.
Error Code | Error Definition | Error Description |
---|---|---|
1300 | LOW_MEMORY | Server does not have enough free memory to complete the operation |
1000 | UNCLASSIFIED_FAILURE | This error will be thrown as a last resort if an exception cannot be classified. This error will then have to be investigated and correctly classified |
1100 | ENCODING_ERROR | There was an error whilst encoding a data entry (key / value) |
DECODING_ERROR | There was an error whilst decoding a data entry (key / value) |