XHRError

class XHRError(val url: String, val method: HttpMethod, message: String, val response: <Error class: unknown class>? = null) : RemoteRequestException

Code 0 does not represent any http status, it represent XHR error (e.g. network error, CORS failure).

Constructors

Link copied to clipboard
constructor(url: String, method: HttpMethod, message: String, response: <Error class: unknown class>? = null)

Properties

Link copied to clipboard
val code: Short
Link copied to clipboard
Link copied to clipboard
val response: <Error class: unknown class>? = null
Link copied to clipboard
val url: String

Functions

Link copied to clipboard
open override fun toString(): String