NetworkIOException

class NetworkIOException @JvmOverloads constructor(cause: IOException?, val httpResponse: HttpResponse? = null) : NetworkException

Indicates that the request failed with an IOException - possibly due to loss of connectivity before the connection was opened, or while reading the response. This type of error can always be retried, as the request never completed.

Parameters

cause

The underlying cause of the failure, if available

httpResponse

The response received before the failure, if any.

Constructors

Link copied to clipboard
constructor(cause: IOException?, httpResponse: HttpResponse? = null)

Properties

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

Functions

Link copied to clipboard
open override fun isRetryable(): Boolean
Link copied to clipboard
open override fun toString(): String