diff --git a/src/node.h b/src/node.h index ed2c074b922687..305d605ef4a33a 100644 --- a/src/node.h +++ b/src/node.h @@ -683,6 +683,10 @@ class InternalCallbackScope; * * This object should be stack-allocated to ensure that it is contained in a * valid HandleScope. + * + * Exceptions happening within this scope will be treated like uncaught + * exceptions. If this behaviour is undesirable, a new `v8::TryCatch` scope + * needs to be created inside of this scope. */ class NODE_EXTERN CallbackScope { public: