Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
core/com.tealium.prism.core.api.network/NetworkException/NetworkIOException

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

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

Properties

cause
Link copied to clipboard
open val cause: Throwable?
httpResponse
Link copied to clipboard
val httpResponse: HttpResponse? = null
message
Link copied to clipboard
open val message: String?

Functions

isRetryable
Link copied to clipboard
open override fun isRetryable(): Boolean
toString
Link copied to clipboard
open override fun toString(): String
Generated by Dokka
(c) Tealium 2026