getErrorFor

open override fun getErrorFor(type: Request.Type): RequestError?

Returns the error for the given request type.

Return

The Throwable returned by the failing request with the given type or null if the request for the given type did not fail.

Parameters

type

The request type for which the error should be returned.