onRequestFailed

open suspend fun onRequestFailed(request: HttpRequest, error: HttpError)

Called when the HTTP client received an error for the given request.

You do not need to do anything with this error, which the HTTP client will handle. This is merely for informational purposes.

This will be called only if onRecoverRequest is not implemented, or returns an error.