summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/error_codes.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/base/error_codes.err b/src/mongo/base/error_codes.err
index a27cf0012c1..286fba9d5a9 100644
--- a/src/mongo/base/error_codes.err
+++ b/src/mongo/base/error_codes.err
@@ -290,7 +290,7 @@ error_class("NotMasterError", [
"InterruptedDueToReplStateChange",
"PrimarySteppedDown",
])
-error_class("StaleShardingError",
+error_class("StaleShardVersionError",
["StaleConfig", "StaleShardVersion", "StaleEpoch"])
error_class("NeedRetargettingError",
["StaleConfig", "StaleShardVersion", "StaleEpoch", "CannotImplicitlyCreateCollection"])