sk0x50 commented on code in PR #928:
URL: https://github.com/apache/ignite-3/pull/928#discussion_r928779090
##########
modules/core/src/main/java/org/apache/ignite/lang/ErrorGroups.java:
##########
@@ -36,12 +43,48 @@ public static class Table {
public static final ErrorGroup TABLE_ERR_GROUP =
ErrorGroup.newGroup("TBL", 2);
/** Table already exists. */
- public static int TABLE_ALREADY_EXISTS_ERR =
TABLE_ERR_GROUP.registerErrorCode(1);
+ public static final int TABLE_ALREADY_EXISTS_ERR =
TABLE_ERR_GROUP.registerErrorCode(1);
/** Table not found. */
- public static int TABLE_NOT_FOUND_ERR =
TABLE_ERR_GROUP.registerErrorCode(2);
+ public static final int TABLE_NOT_FOUND_ERR =
TABLE_ERR_GROUP.registerErrorCode(2);
/** Column already exists. */
- public static int COLUMN_ALREADY_EXISTS_ERR =
TABLE_ERR_GROUP.registerErrorCode(3);
+ public static final int COLUMN_ALREADY_EXISTS_ERR =
TABLE_ERR_GROUP.registerErrorCode(3);
/** Column not found. */
- public static int COLUMN_NOT_FOUND_ERR =
TABLE_ERR_GROUP.registerErrorCode(4);
+ public static final int COLUMN_NOT_FOUND_ERR =
TABLE_ERR_GROUP.registerErrorCode(4);
+ }
+
+ /** Meta storage error group. */
+ public static class MetaStorage {
+ /** Meta storage error group. */
+ public static final ErrorGroup META_STORAGE_ERR_GROUP =
ErrorGroup.newGroup("MTS", 3);
Review Comment:
Yes, it makes sense to me. Will change.
--
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]