We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eecd8a commit d7f1b0cCopy full SHA for d7f1b0c
doc/api/repl.md
@@ -151,10 +151,9 @@ REPL session.
151
152
This use of the [`domain`][] module in the REPL has these side effects:
153
154
-* Uncaught exceptions only emit the [`'uncaughtException'`][] event if the
155
- `repl` is used as standalone program. If the `repl` is included anywhere in
156
- another application, adding a listener for this event will throw an
157
- [`ERR_INVALID_REPL_INPUT`][] exception.
+* Uncaught exceptions only emit the [`'uncaughtException'`][] event in the
+ standalone REPL. Adding a listener for this event in a REPL within
+ another Node.js program throws [`ERR_INVALID_REPL_INPUT`][].
158
* Trying to use [`process.setUncaughtExceptionCaptureCallback()`][] throws
159
an [`ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE`][] error.
160
0 commit comments