Error
data class Error(val code: Int? = null, val heading: String? = null, val message: String? = null) : NetworkState
Network state for failed requests with an optional message or code
Parameters
code
The response code from the last request
heading
Heading related to the error message
message
Message to display if any are available