You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sa...@apache.org on 2022/10/13 11:56:11 UTC
[ignite-3] branch main updated: IGNITE-17896 Add storage error group. (#1202)
This is an automated email from the ASF dual-hosted git repository.
sanpwc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 703e46a98f IGNITE-17896 Add storage error group. (#1202)
703e46a98f is described below
commit 703e46a98f0849d43c0a41531a0f8f1dd938c19c
Author: Mirza Aliev <al...@gmail.com>
AuthorDate: Thu Oct 13 14:56:05 2022 +0300
IGNITE-17896 Add storage error group. (#1202)
---
.../core/src/main/java/org/apache/ignite/lang/ErrorGroups.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/modules/core/src/main/java/org/apache/ignite/lang/ErrorGroups.java b/modules/core/src/main/java/org/apache/ignite/lang/ErrorGroups.java
index aa01466b4e..0d4a3d8c78 100755
--- a/modules/core/src/main/java/org/apache/ignite/lang/ErrorGroups.java
+++ b/modules/core/src/main/java/org/apache/ignite/lang/ErrorGroups.java
@@ -301,4 +301,13 @@ public class ErrorGroups {
/** The error happens when the replica is not the current primary replica. */
public static final int REPLICA_MISS_ERR = REPLICATOR_ERR_GROUP.registerErrorCode(6);
}
+
+ /** Storage error group. */
+ public static class Storage {
+ /** Storage error group. */
+ public static final ErrorGroup STORAGE_ERR_GROUP = ErrorGroup.newGroup("STORAGE", 9);
+
+ /** Failed to create a directory. */
+ public static final int DIRECTORY_CREATION_ERR = STORAGE_ERR_GROUP.registerErrorCode(1);
+ }
}