public ResultWithErrors(RestResponse response) { httpStatusCode = response.getHttpStatus(); httpHeaders = response.wrapHeaders(); }