HttpError

class HttpError constructor(val code: Int, message: String? = null) : CommonError(source)

Represents an HTTP error encountered during an API request.

Parameters

code

The HTTP status code of the error.

message

The error message.

See also

Constructors

Link copied to clipboard
constructor(code: Int, message: String? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val code: Int
Link copied to clipboard
open override val errorDescription: String
Link copied to clipboard
open val message: String?
Link copied to clipboard
open override val underlyingErrors: Array<Error>?