summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/base/error_codes.err3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.err b/src/mongo/base/error_codes.err
index 2899f9202af..6464a030731 100644
--- a/src/mongo/base/error_codes.err
+++ b/src/mongo/base/error_codes.err
@@ -243,6 +243,7 @@ error_code("CannotCreateCollection", 242)
error_code("IncompatibleWithUpgradedServer", 243)
error_code("TransactionAborted", 244)
error_code("BrokenPromise", 245)
+error_code("SnapshotUnavailable", 246)
# Error codes 4000-8999 are reserved.
@@ -297,3 +298,5 @@ error_class("ConnectionFatalMessageParseError", ["IllegalOpMsgFlag",
"TooManyDocumentSequences"])
error_class("ExceededTimeLimitError", ["ExceededTimeLimit", "NetworkInterfaceExceededTimeLimit"])
+
+error_class("SnapshotError", ["SnapshotTooOld", "SnapshotUnavailable"])