HttpFailure

class HttpFailure(val httpErrorCode: Int, val message: String) : SearchFailure

Failure where an online REST API call returned an unexpected HTTP status code.

Parameters

httpErrorCode

The HTTP status code associated with the failure.

message

Error message indicating the HTTP failure.

Constructors

Link copied to clipboard
constructor(httpErrorCode: Int, message: String)

Properties

Link copied to clipboard

Inherited properties

Link copied to clipboard