onFailure
inline suspend fun <R> HttpResponse.onFailure(block: OAuth2Error?.(response: HttpResponse) -> R): IntermediateResult<R>(source)
Helper method to perform error handling on ktor responses, see onSuccess.
Helper method to perform error handling on ktor responses, see onSuccess.