HttpException

data class HttpException(val request: Request, val response: Response, val message: String) : KlopikException

This class represents an HTTP exception.

Constructors

Link copied to clipboard
constructor(request: Request, response: Response, message: String)

Properties

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

The message detailing the reason for the exception.

Link copied to clipboard
open override val request: Request

The request that was made when the exception occurred.

Link copied to clipboard
open override val response: Response

The response that was received when the exception occurred.