Skip to content

Commit 4828604

Browse files
Backport to branch(3.13) : Add ScalarDB Dao and related files (#2510)
Co-authored-by: inv-jishnu <[email protected]>
1 parent 40c926b commit 4828604

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
@@ -949,6 +949,18 @@ public enum CoreError implements ScalarDbError {
949949
Category.INTERNAL_ERROR, "0044", "The Upsert operation failed. Details: %s", "", ""),
950950
JDBC_TRANSACTION_UPDATE_OPERATION_FAILED(
951951
Category.INTERNAL_ERROR, "0045", "The Update operation failed. Details: %s", "", ""),
952+
DATA_LOADER_ERROR_CRUD_EXCEPTION(
953+
Category.INTERNAL_ERROR,
954+
"0047",
955+
"Something went wrong while trying to save the data. Details: %s",
956+
"",
957+
""),
958+
DATA_LOADER_ERROR_SCAN(
959+
Category.INTERNAL_ERROR,
960+
"0048",
961+
"Something went wrong while scanning. Are you sure you are running in the correct transaction mode? Details: %s",
962+
"",
963+
""),
952964

953965
//
954966
// Errors for the unknown transaction status error category

0 commit comments

Comments
 (0)