GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix function name in process.md · nodejs/node@0f1d737

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • process.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+7-6Lines changed: 7 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1690,18 +1690,19 @@ added: v9.3.0
16901690

16911691
* `fn` {Function|null}
16921692

1693-
The `process.setUncaughtExceptionCapture` function sets a function that will
1694-
be invoked when an uncaught exception occurs, which will receive the exception
1695-
value itself as its first argument.
1693+
The `process.setUncaughtExceptionCaptureCallback()` function sets a function
1694+
that will be invoked when an uncaught exception occurs, which will receive the
1695+
exception value itself as its first argument.
16961696

16971697
If such a function is set, the [`'uncaughtException'`][] event will
16981698
not be emitted. If `--abort-on-uncaught-exception` was passed from the
16991699
command line or set through [`v8.setFlagsFromString()`][], the process will
17001700
not abort.
17011701

1702-
To unset the capture function, `process.setUncaughtExceptionCapture(null)`
1703-
may be used. Calling this method with a non-`null` argument while another
1704-
capture function is set will throw an error.
1702+
To unset the capture function,
1703+
`process.setUncaughtExceptionCaptureCallback(null)` may be used. Calling this
1704+
method with a non-`null` argument while another capture function is set will
1705+
throw an error.
17051706

17061707
Using this function is mutually exclusive with using the deprecated
17071708
[`domain`][] built-in module.

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.