summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/status.h')
-rw-r--r--src/mongo/scripting/mozjs/status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/scripting/mozjs/status.h b/src/mongo/scripting/mozjs/status.h
index d930bdb8df9..8a066936520 100644
--- a/src/mongo/scripting/mozjs/status.h
+++ b/src/mongo/scripting/mozjs/status.h
@@ -51,6 +51,7 @@ struct MongoStatusInfo : public BaseInfo {
struct Functions {
MONGO_DECLARE_JS_FUNCTION(code);
MONGO_DECLARE_JS_FUNCTION(reason);
+ MONGO_DECLARE_JS_FUNCTION(stack);
};
static void postInstall(JSContext* cx, JS::HandleObject global, JS::HandleObject proto);