NoNetworkConnection

class NoNetworkConnection(val cause: Throwable?) : NetworkFailure

Failed to establish a connection with the necessary servers in order to pull/push data.

Caused by weak – or complete lack of – internet connection:

  • Device not connected at all

  • Timeout due to slow connection

  • Server is offline

  • Unreachable due to ISP blocks

  • many others, we just can't say specifically, and we handle them all the same way

cause can help to understand better what was caused and triggered this failure

Constructors

Link copied to clipboard
constructor(cause: Throwable?)

Properties

Link copied to clipboard
val cause: Throwable?
Link copied to clipboard
open val hasConflictingDomainsError: Boolean
Link copied to clipboard
open val hasUnreachableDomainsError: Boolean
Link copied to clipboard
open val isInvalidRequestError: Boolean
Link copied to clipboard
Link copied to clipboard
open val isRetryable: Boolean