HttpRequestExecutorErrorCode

HttpRequestExecutorErrorCode

An enumeration that describes network issues.

enum HttpRequestExecutorErrorCode : Enum<HttpRequestExecutorErrorCode> , MIRACLErrorCode

Entries

Name Summary
URL_CREATION_ERROR

Cannot create URL

URL_CREATION_ERROR()


EXECUTION_ERROR

Error while executing http request

EXECUTION_ERROR()


NOT_FOUND_ERROR

Error: The server responded with 404 error code.

NOT_FOUND_ERROR()


NOT_ACCEPTABLE_ERROR

Error: Server responded with 406 - ‘Not acceptable’

NOT_ACCEPTABLE_ERROR()


NOT_AUTHORIZED_ERROR

Error: Server responded with 401 - ‘Unauthorized’

NOT_AUTHORIZED_ERROR()


TYPE_NOT_SUPPORTED_ERROR

Error: Server responded with 400 - Response type not supported / Unexpected error occurred

TYPE_NOT_SUPPORTED_ERROR()


SERVER_ERROR

Error: Server responded with code 500 - Server error

SERVER_ERROR()


TIMEOUT_ERROR

Error: Request Timeout with code 408

TIMEOUT_ERROR()


Functions

Name Summary
compareTo
Content
operator override fun compareTo(other: HttpRequestExecutorErrorCode): Int


equals
Content
operator override fun equals(other: Any?): Boolean


finalize
Content
override fun finalize()


getDeclaringClass
Content
override fun getDeclaringClass(): Class<HttpRequestExecutorErrorCode>


hashCode
Content
override fun hashCode(): Int


toString
Content
open override fun toString(): String


Properties

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