onFailure

abstract fun onFailure(throwable: Throwable)

Called when an error has happened while executing the operation.

Parameters

throwable

Error returned to specify the reason of the failure.