RequestError

data class RequestError(val providerName: String, val httpStatusCode: HttpStatusCode?, val body: String?, val message: String? = body) : ProviderResult.Error

Indicates a network error when attempting a query.

Constructors

Link copied to clipboard
constructor(providerName: String, httpStatusCode: HttpStatusCode?, body: String?, message: String? = body)

Properties

Link copied to clipboard
val body: String?
Link copied to clipboard
val httpStatusCode: HttpStatusCode?
Link copied to clipboard
open override val message: String?
Link copied to clipboard
open override val providerName: String

The name of the provider which produced this result.