HttpException

open class HttpException(val statusCode: Int, val msg: String = "Error", val statusText: String = HttpStatusMessage.CODES[statusCode] ?: "Error$statusCode", val headers: Http.Headers = Http.Headers()) : IOException

Inheritors

Constructors

Link copied to clipboard
constructor(statusCode: Int, msg: String = "Error", statusText: String = HttpStatusMessage.CODES[statusCode] ?: "Error$statusCode", headers: Http.Headers = Http.Headers())

Types

Link copied to clipboard
object Companion

Properties

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