LegacyError

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

Constructors

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

Properties

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

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