handleFailure

private suspend fun <R> handleFailure(throwable: Throwable): R(source)

Handles the possible failure of an operation decorated by the circuit breaker, by emitting the necessary events and rethrowing the exception.