FetchException

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

Exception type for handling http exceptions

Constructors

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

Properties

Link copied to clipboard

the body of the error-response

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard

the http response status code