ResponseException

open class ResponseException(response: HttpResponse, cachedResponseText: String) : IllegalStateException

Base for default response exceptions.

Parameters

response

: origin response

Inheritors

Constructors

Link copied to clipboard
constructor(response: HttpResponse, cachedResponseText: String)

Properties

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

Functions

Link copied to clipboard

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.