public OutlierDetectingRuleBuilder onException(Class<? extends Throwable> exceptionType) {
        return onException(exceptionType, OutlierDetectionDecision.FAILURE);
    }
Reports a failure if the exception type is raised.
core/src/main/java/com/linecorp/armeria/common/outlier/OutlierDetectingRuleBuilder.java