KoryHttpException
Sealed exception hierarchy for Kory HTTP client errors.
HttpStatus — Non-2xx HTTP response.
Network — Network-level failure (connection refused, DNS, etc.).
Timeout — Request timed out.
Decoding — Response decoding failure.
Inheritors
Types
Link copied to clipboard
Response decoding failure.
Link copied to clipboard
class HttpStatus(val status: Int, val body: ByteArray, val url: String) : KoryHttpException, JsonDecodable
Non-2xx HTTP response.
Link copied to clipboard
Network-level failure.
Link copied to clipboard
Request timed out.