summaryrefslogtreecommitdiff
path: root/src/mongo/rpc
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2018-07-12 16:33:45 -0400
committerGeert Bosch <geert@mongodb.com>2018-07-12 16:33:45 -0400
commita9e1b69204e7999d5f31013532cc5c9842371f78 (patch)
tree1289bcb8779dbc16983160fe2c36493ccd7480d2 /src/mongo/rpc
parent069e6f06b4e0faef45661ac043c7a4ebcf026d96 (diff)
downloadmongo-a9e1b69204e7999d5f31013532cc5c9842371f78.tar.gz
Fix error codes
Diffstat (limited to 'src/mongo/rpc')
-rw-r--r--src/mongo/rpc/reply_builder_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/rpc/reply_builder_interface.h b/src/mongo/rpc/reply_builder_interface.h
index 70524fc3a64..64a8cab8891 100644
--- a/src/mongo/rpc/reply_builder_interface.h
+++ b/src/mongo/rpc/reply_builder_interface.h
@@ -72,7 +72,7 @@ public:
* before the body as the body will have status types appended at the end.
*/
virtual OpMsgBuilder::DocSequenceBuilder getDocSequenceBuilder(StringData name) {
- uasserted(99980, "Only OpMsg may use document sequences");
+ uasserted(50875, "Only OpMsg may use document sequences");
}
virtual ReplyBuilderInterface& setMetadata(const BSONObj& metadata) = 0;