EndpointErrorEvent

data class EndpointErrorEvent(    val url: String? = null,     val webRequestResult: Int? = null,     val webRequestResultDescription: String?,     val responseCode: Short? = null,     val errors: List<Error>,     val rawResponse: String? = null) : Event

Event data class used to report failure to get data from remote API server.

Constructors

Link copied to clipboard
fun EndpointErrorEvent(    url: String? = null,     webRequestResult: Int? = null,     webRequestResultDescription: String?,     responseCode: Short? = null,     errors: List<Error>,     rawResponse: String? = null)

Properties

Link copied to clipboard
val errors: List<Error>

List of occurred errors.

Link copied to clipboard
val rawResponse: String? = null

The full text of server response (if any).

Link copied to clipboard
val responseCode: Short? = null

HTTP response code (if any).

Link copied to clipboard
val url: String? = null

The URL of the requested resource.

Link copied to clipboard
val webRequestResult: Int? = null
Link copied to clipboard
val webRequestResultDescription: String?

String representation of webRequestResult.