onError

abstract fun onError(t: Throwable)

Executed if the request was failed.

Parameters

t

contains information about error.