diff options
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h index 32fd4b288e..039b188f4f 100644 --- a/src/node.h +++ b/src/node.h @@ -311,6 +311,8 @@ NODE_EXTERN void FreeIsolateData(IsolateData* isolate_data); // TODO(addaleax): Add an official variant using STL containers, and move // per-Environment options parsing here. +// Returns nullptr when the Environment cannot be created e.g. there are +// pending JavaScript exceptions. NODE_EXTERN Environment* CreateEnvironment(IsolateData* isolate_data, v8::Local<v8::Context> context, int argc, |