Package com. devbase. data. utilities. exception

Defines models for handling error in retrieving API Response

Types

Link copied to clipboard
class ApiException(val apiError: ApiError, var response: Response<*>? = null) : ResponseException

Base class for defining Exception from API

Link copied to clipboard
open class ResponseException(var response: Response<*>?) : RuntimeException

Base class to throw Response Exception