summaryrefslogtreecommitdiff
path: root/src/mongo/base/error_codes.yml
diff options
context:
space:
mode:
authorYuhong Zhang <yuhong.zhang@mongodb.com>2022-07-26 17:41:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-26 19:44:51 +0000
commit7ed415c9c79e1e603213d0e88b5ae577e3409b4a (patch)
treee089c53f7b5b2dbb7b73c4ff9465192f4e6031d7 /src/mongo/base/error_codes.yml
parent3a91ec210628f1d77251c54ffcd5c1e97dd9f534 (diff)
downloadmongo-7ed415c9c79e1e603213d0e88b5ae577e3409b4a.tar.gz
SERVER-68259 Introduce `NonConformantBSON` error code to differentiate new inconsistencies
Diffstat (limited to 'src/mongo/base/error_codes.yml')
-rw-r--r--src/mongo/base/error_codes.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.yml b/src/mongo/base/error_codes.yml
index 903a8921b23..67d05e909bb 100644
--- a/src/mongo/base/error_codes.yml
+++ b/src/mongo/base/error_codes.yml
@@ -487,6 +487,7 @@ error_codes:
- {code: 375, name: TransactionAPIMustRetryCommit, categories: [InternalOnly]}
- {code: 376, name: ChangeStreamNotEnabled}
- {code: 377, name: FLEMaxTagLimitExceeded }
+ - {code: 378, name: NonConformantBSON, categories: [ValidationError]}
# Error codes 4000-8999 are reserved.