HttpRequestTimeoutException

class HttpRequestTimeoutException(url: String, timeoutMillis: Long?) : IOException

This exception is thrown in case the request timeout is exceeded. The request timeout is the time period required to process an HTTP call: from sending a request to receiving a response.

Constructors

Link copied to clipboard
constructor(request: HttpRequestBuilder)
constructor(request: HttpRequestData)
constructor(url: String, timeoutMillis: Long?)

Properties

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

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.