static CircuitBreakerRule onException(
            BiPredicate<? super ClientRequestContext, ? super Throwable> exceptionFilter) {
        return builder().onException(exceptionFilter).thenFailure();
    }
Returns a newly created {@link CircuitBreakerRule} that will report a {@link Response} as a failure,
if an {@link Exception} is raised and the specified {@code exceptionFilter} returns {@code true}.
core/src/main/java/com/linecorp/armeria/client/circuitbreaker/CircuitBreakerRule.java