diff options
author | Jason Zhang <jason.zhang@mongodb.com> | 2021-10-13 17:05:34 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-13 18:49:37 +0000 |
commit | 02198d2e8faa3adf2705555d3094c9b6a7bf3fd8 (patch) | |
tree | 9a25fb2f5f32e45f98168778ba474eef573ea71e /src/mongo/base | |
parent | 99050aa4ce30bf4207ddcacb61b7605252f963d4 (diff) | |
download | mongo-02198d2e8faa3adf2705555d3094c9b6a7bf3fd8.tar.gz |
SERVER-60530 Throw InternalTransactionNotSupported instead of InvalidOptions when internal transactions are not supported
Diffstat (limited to 'src/mongo/base')
-rw-r--r-- | src/mongo/base/error_codes.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.yml b/src/mongo/base/error_codes.yml index 420b78dc8ff..11410170dd3 100644 --- a/src/mongo/base/error_codes.yml +++ b/src/mongo/base/error_codes.yml @@ -455,6 +455,8 @@ error_codes: - {code: 357, name: InvalidBSONType} + - {code: 358, name: InternalTransactionNotSupported} + # Error codes 4000-8999 are reserved. # Non-sequential error codes for compatibility only) |