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)

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