public static HttpResponseException of(AggregatedHttpResponse aggregatedResponse,
                                           @Nullable Throwable cause) {
        return of(requireNonNull(aggregatedResponse, "aggregatedResponse").toHttpResponse(), cause);
    }
Returns a new {@link HttpResponseException} instance with the specified {@link AggregatedHttpResponse}
and {@link Throwable}.
core/src/main/java/com/linecorp/armeria/server/HttpResponseException.java