docs: private void dumpToSdkHttpResponse(HttpResponse resp) {
          errorResponse.setStatusCode(resp.status().code());
          errorResponse.setStatusText(resp.status().reasonPhrase());
          for (Map.Entry<String, String> header : resp.headers().entries()) {
              errorResponse.addHeader(header.getKey(), header.getValue());
          }
      }