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