protected BiFunction<ClientRequestContext, Throwable, O> errorResponseFactory() {
        return errorResponseFactory;
    }
The {@link BiFunction} that returns a new response failed with the given exception.
core/src/main/java/com/linecorp/armeria/client/UserClient.java