Skip to content

//NetworkResponseAdapter/com.haroldadmin.cnradapter/NetworkResponse/NetworkError

NetworkError

[jvm]\ data class NetworkError<S, E>(error: IOException) : NetworkResponse.Error<S, E>

The result of a network connectivity error

Constructors

NetworkError [jvm]
fun NetworkError(error: IOException)

Properties

Name Summary
body [jvm]
open override val body: E? = null
Always null for a NetworkError
error [jvm]
open override val error: IOException
The underlying error of the failed network request, if available.