HttpRequestExecutorErrorCode

HttpRequestExecutorErrorCode


enum HttpRequestExecutorErrorCode : Enum<HttpRequestExecutorErrorCode> , MIRACLErrorCode

An enumeration that describes network issues.

Entries

TIMEOUT_ERROR
TIMEOUT_ERROR()
Error: Request Timeout with code 408
SERVER_ERROR
SERVER_ERROR()
Error: Server responded with code 500 - Server error
TYPE_NOT_SUPPORTED_ERROR
TYPE_NOT_SUPPORTED_ERROR()
Error: Server responded with 400 - Response type not supported / Unexpected error occurred
NOT_AUTHORIZED_ERROR
NOT_AUTHORIZED_ERROR()
Error: Server responded with 401 - ‘Unauthorized’
NOT_ACCEPTABLE_ERROR
NOT_ACCEPTABLE_ERROR()
Error: Server responded with 406 - ‘Not acceptable’
NOT_FOUND_ERROR
NOT_FOUND_ERROR()
Error: The server responded with 404 error code.
EXECUTION_ERROR
EXECUTION_ERROR()
Error while executing http request
URL_CREATION_ERROR
URL_CREATION_ERROR()
Cannot create URL

Properties

Name Summary
name
val name: String
ordinal
val ordinal: Int