public static interface CommunicationManager.Code extends CommonErrorConstant.Code
Handler.onFailure(Error)
on the CommunicationManager
Modifier and Type | Field and Description |
---|---|
static int |
FILE_NOT_FOUND
File not found
|
static int |
FILE_NOT_SAVED
Server returned data correctly, but something went wrong while saving it on disk.
|
static int |
HTTP_BAD_REQUEST
The request was unacceptable, often due to missing a required parameter.
|
static int |
HTTP_NOT_FOUND
The request resource doesn't exist.
|
static int |
HTTP_REQUEST_FAILED
The parameters were valid but the request failed.
|
static int |
HTTP_SERVER_ERROR
Something went wrong on Situm's end.
|
static int |
HTTP_UNAUTHORIZED
No provided credentials are not valid.
|
static int |
INVALID_REQUEST_PARAMETERS
Error while creating request payload.
|
static int |
MALFORMED_JSON
Server returned a JSON that can't be read.
|
static int |
NETWORK_ERROR
Network error.
|
INTERNET_NOT_AVAILABLE
static final int NETWORK_ERROR
static final int INVALID_REQUEST_PARAMETERS
static final int MALFORMED_JSON
static final int FILE_NOT_SAVED
static final int FILE_NOT_FOUND
static final int HTTP_BAD_REQUEST
static final int HTTP_UNAUTHORIZED
static final int HTTP_REQUEST_FAILED
static final int HTTP_NOT_FOUND
static final int HTTP_SERVER_ERROR