onFailure

abstract fun onFailure(error: Error)

If a request fails, onFailure is called

Parameters

error

A description of the error