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

cause
Link copied to clipboard
open val cause: Throwable?
code
Link copied to clipboard
val code: Short
message
Link copied to clipboard
open val message: String?
method
Link copied to clipboard
val method: HttpMethod
url
Link copied to clipboard
val url: String