roryqi commented on code in PR #10668:
URL: https://github.com/apache/gravitino/pull/10668#discussion_r3036373195


##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/IcebergRESTUtils.java:
##########
@@ -42,6 +44,25 @@
 
 public class IcebergRESTUtils {
 
+  /**
+   * Error type names matching the Iceberg REST API specification examples. 
See <a
+   * 
href="https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml";>Iceberg
+   * REST API spec</a>.
+   */
+  public static final Map<Integer, String> ERROR_TYPE_NAMES =

Review Comment:
   We should remove this variable and we should convert improper exception to 
spec exceptions in the method `convertToIcebergException`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to