Api Exception

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

Base class for defining Exception from API

Author

Jimly A.

Since

04-Jun-20.

Parameters

apiError

the api Error

response

the response of API

Constructors

Link copied to clipboard
fun ApiException(apiError: ApiError, response: Response<*>? = null)

Properties

Link copied to clipboard
val apiError: ApiError
Link copied to clipboard
open override var response: Response<*>? = null

Sources

Link copied to clipboard