XHRError

class XHRError(url: String, method: HttpMethod, message: String) : RemoteRequestException

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

Constructors

XHRError
Link copied to clipboard
fun XHRError(url: String, method: HttpMethod, message: String)

Functions

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

Properties

code
Link copied to clipboard
val code: Short
method
Link copied to clipboard
val method: HttpMethod
url
Link copied to clipboard
val url: String