diff options
author | Misha Tyulenev <misha@mongodb.com> | 2018-03-05 16:37:28 -0500 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2018-03-05 16:37:53 -0500 |
commit | 6d104981a13bd51456fd4b49920e03c6e8ac494a (patch) | |
tree | 7adfe45a9370f99ffd51a4ed901e524541883b74 /src/mongo/base | |
parent | 3a409d8f76d8123d2d759062ef84a5f788a1ae0f (diff) | |
download | mongo-6d104981a13bd51456fd4b49920e03c6e8ac494a.tar.gz |
SERVER-33013 add SnapshotError class
Diffstat (limited to 'src/mongo/base')
-rw-r--r-- | src/mongo/base/error_codes.err | 3 |
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"]) |