CustomError

data class CustomError(val errorCode: Int, val errorMessage: String) : Failure

Constructors

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

Properties

Link copied to clipboard
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