NetworkConnection

data class NetworkConnection(val errorCode: Int? = null, val errorMessage: String) : Failure

Constructors

Link copied to clipboard
constructor(errorCode: Int? = null, errorMessage: String)

Properties

Link copied to clipboard
val errorCode: Int? = null
Link copied to clipboard

Functions

Link copied to clipboard

Extension of Failure that will help us to obtain more data about the error obtained, either due to the Internet connection, the service or a custom error