Interface CommunicationManager.Code

All Superinterfaces:
CommonErrorConstant.Code
Enclosing interface:
CommunicationManager

public static interface CommunicationManager.Code extends CommonErrorConstant.Code
The error codes received in Handler.onFailure(Error) on the CommunicationManager
  • Field Details

    • NETWORK_ERROR

      static final int NETWORK_ERROR
      Network error. Called when the request could not be executed due to cancellation, a connectivity problem or timeout
      See Also:
    • INVALID_REQUEST_PARAMETERS

      static final int INVALID_REQUEST_PARAMETERS
      Error while creating request payload. Usually because incorrect params, check them.
      See Also:
    • MALFORMED_JSON

      static final int MALFORMED_JSON
      Server returned a JSON that can't be read.
      See Also:
    • FILE_NOT_SAVED

      static final int FILE_NOT_SAVED
      Server returned data correctly, but something went wrong while saving it on disk. File was deleted or couldn't be read.
      See Also:
    • FILE_NOT_FOUND

      static final int FILE_NOT_FOUND
      File not found
      See Also:
    • ILLEGAL_ARGUMENT

      static final int ILLEGAL_ARGUMENT
      The request could not be performed due to an illegal argument in the caller method.
      See Also:
    • HTTP_BAD_REQUEST

      static final int HTTP_BAD_REQUEST
      The request was unacceptable, often due to missing a required parameter.
      See Also:
    • HTTP_UNAUTHORIZED

      static final int HTTP_UNAUTHORIZED
      Provided credentials are not valid.
      See Also:
    • HTTP_REQUEST_FAILED

      static final int HTTP_REQUEST_FAILED
      The parameters were valid but the request failed.
      See Also:
    • HTTP_NOT_FOUND

      static final int HTTP_NOT_FOUND
      The request resource doesn't exist.
      See Also:
    • HTTP_SERVER_ERROR

      static final int HTTP_SERVER_ERROR
      Something went wrong on Situm's end.
      See Also: