HttpException

Exception that handles HTTP codes considered not successful by OkHttp. Use it to have a standardized error message in the app across the extensions.

Since

extensions-lib 14

Parameters

code

Int the HTTP status code

Constructors

Link copied to clipboard
constructor(code: Int)

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard