Exceptions

UsedeskException: RuntimeException

Parent exception for all non-standard library exceptions

Fields:

NameTypeDescription
messageString?Error text message


UsedeskDataNotFoundException: UsedeskException

The data you were looking for was not found.


UsedeskHttpException: UsedeskException

HTTP error.

Fields:

NameTypeDescription
error

UsedeskHttpException.Error

IO_ERROR - I / O error
UNKNOWN_ERROR - Unidentified error

UsedeskSocketException : UsedeskException

Socket error.

Fields:

NameTypeDescription
error

UsedeskSocketException.Error

INTERNAL_SERVER_ERROR - Internal server error
BAD_REQUEST_ERROR - Bad request
FORBIDDEN_ERROR - Access is denied
DISCONNECTED - Break the connection
SOCKET_INIT_ERROR - Socket initialization error
JSON_ERROR - Json processing error
UNKNOWN_ERROR - Unidentified error