onFailure

inline fun <T> Response<T>.onFailure(block: (Response.Failure) -> Unit): T?
inline suspend fun <T> Deferred<Response<out T>>.onFailure(block: (Response.Failure) -> Unit): T?