FetchException

class FetchException(statusCode: Int, body: String, 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
val body: String

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
val response: Response
Link copied to clipboard
val statusCode: Int

the http response status code