onFailure

abstract fun onFailure(call: Call<T>, t: Throwable)

Called on failed operation

Parameters

call

the call

t

the error that caused the failure