onFailure

abstract fun onFailure(error: Error)

On a unsuccessful request onFailure is called with a descriptive error.

Parameters

error

A description of the error