recordFailure

suspend fun recordFailure(throwable: RequestError)

Call this method with the failure message and the request can be retried via IRequestHelper.retryWithStatus.

Parameters

throwable

The error that occurred while carrying out the request.

Throws

when recordFailure/recordSuccess has already been called