diff options
Diffstat (limited to 'src/mongo/db/update')
-rw-r--r-- | src/mongo/db/update/update_driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/update/update_driver.cpp b/src/mongo/db/update/update_driver.cpp index ee480f5e5d1..2c1f9c25036 100644 --- a/src/mongo/db/update/update_driver.cpp +++ b/src/mongo/db/update/update_driver.cpp @@ -69,7 +69,7 @@ StatusWith<UpdateSemantics> updateSemanticsFromElement(BSONElement element) { // As of 3.7, we only support one version of the update language. if (updateSemantics != static_cast<int>(UpdateSemantics::kUpdateNode)) { - return {ErrorCodes::Error(50659), + return {ErrorCodes::Error(40682), str::stream() << "Unrecognized value for '$v' (UpdateSemantics) field: " << updateSemantics}; } |