summaryrefslogtreecommitdiff
path: root/src/node_errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_errors.h')
-rw-r--r--src/node_errors.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node_errors.h b/src/node_errors.h
index b04a347f1e..c27f4b36fa 100644
--- a/src/node_errors.h
+++ b/src/node_errors.h
@@ -39,6 +39,11 @@ void FatalException(v8::Isolate* isolate,
Local<Value> error,
Local<Message> message);
+void FatalException(v8::Isolate* isolate,
+ Local<Value> error,
+ Local<Message> message,
+ bool from_promise);
+
// Helpers to construct errors similar to the ones provided by
// lib/internal/errors.js.
// Example: with `V(ERR_INVALID_ARG_TYPE, TypeError)`, there will be