public ArmeriaHttpExchangeAdapterBuilder statusHandler(StatusHandler statusHandler) {
        requireNonNull(statusHandler, "statusHandler");
        if (this.statusHandler == null) {
            this.statusHandler = statusHandler;
        } else {
            this.statusHandler = this.statusHandler.orElse(statusHandler);
        }
        return this;
    }
Adds the {@link StatusHandler} that converts specific error {@link HttpStatus}s to a {@link Throwable}
to be propagated downstream instead of the response.
spring/spring6/src/main/java/com/linecorp/armeria/spring/client/ArmeriaHttpExchangeAdapterBuilder.java