summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
authorAmirsaman Memaripour <amirsaman.memaripour@mongodb.com>2022-04-28 15:15:19 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-28 17:35:39 +0000
commit4fee73e53ecdbfff73d644dd743b66d5e16a1836 (patch)
tree296c1b4e97d71f6f07e48693ec0be31a4fc96fb5 /src/mongo/base
parent2255f824d44caf48f9c8b0e23ffaf8483f4e0afe (diff)
downloadmongo-4fee73e53ecdbfff73d644dd743b66d5e16a1836.tar.gz
SERVER-54284 ExceptionFor<ErrorCodes::WriteConflict> should resolve to WriteConflictException
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/error_codes.tpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.tpl.cpp b/src/mongo/base/error_codes.tpl.cpp
index a51621590c5..bd2071c2627 100644
--- a/src/mongo/base/error_codes.tpl.cpp
+++ b/src/mongo/base/error_codes.tpl.cpp
@@ -32,6 +32,8 @@
#include "mongo/base/error_codes.h"
#include "mongo/base/static_assert.h"
+#include "mongo/db/concurrency/temporarily_unavailable_exception.h"
+#include "mongo/db/concurrency/write_conflict_exception.h"
#include "mongo/util/assert_util.h"
#include "mongo/util/str.h"