FetchException

class FetchException(statusCode: Short, body: String, response: Response) : Exception

Exception type for handling http exceptions

Constructors

FetchException
Link copied to clipboard
js
fun FetchException(statusCode: Short, body: String, response: Response)

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
toString
Link copied to clipboard
js
open fun toString(): String

Properties

body
Link copied to clipboard
js
val body: String
the body of the error-response
cause
Link copied to clipboard
js
open val cause: Throwable?
message
Link copied to clipboard
js
open val message: String?
response
Link copied to clipboard
js
val response: Response
statusCode
Link copied to clipboard
js
val statusCode: Short
the http response status code