Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.network/NetworkResult/Failure

Failure

class Failure(val networkException: NetworkException) : NetworkResult

Failure indicates that the network request was unsuccessful for the reason given by the returned networkException

Failure does not always mean that the connection was not made, however, and the networkException should therefore be inspected for the failure reasons and whether or not the request can be retried.

Parameters

networkException

The underlying cause of the failure

See also

NetworkResult.Success

Constructors

Failure
Link copied to clipboard
constructor(networkException: NetworkException)

Properties

networkException
Link copied to clipboard
val networkException: NetworkException

Functions

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