Skip to content

Commit 87ce5b9

Browse files
Backport to branch(3.12) : Add ScalarDB Dao and related files (#2511)
Co-authored-by: inv-jishnu <[email protected]> Co-authored-by: Jishnu J <[email protected]>
1 parent f8ec436 commit 87ce5b9

File tree

7 files changed

+747
-1
lines changed

7 files changed

+747
-1
lines changed

core/src/main/java/com/scalar/db/common/error/CoreError.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,18 @@ public enum CoreError implements ScalarDbError {
865865
"",
866866
""),
867867
CONSENSUS_COMMIT_ROLLBACK_FAILED(Category.INTERNAL_ERROR, "0042", "Rollback failed", "", ""),
868+
DATA_LOADER_ERROR_CRUD_EXCEPTION(
869+
Category.INTERNAL_ERROR,
870+
"0047",
871+
"Something went wrong while trying to save the data. Details: %s",
872+
"",
873+
""),
874+
DATA_LOADER_ERROR_SCAN(
875+
Category.INTERNAL_ERROR,
876+
"0048",
877+
"Something went wrong while scanning. Are you sure you are running in the correct transaction mode? Details: %s",
878+
"",
879+
""),
868880

869881
//
870882
// Errors for the unknown transaction status error category

0 commit comments

Comments
 (0)