MCPcopy Index your code
hub / github.com/nodejs/node / registerUncaughtHandlers

Method registerUncaughtHandlers

deps/npm/lib/cli/exit-handler.js:43–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 registerUncaughtHandlers () {
44 this.#process.on('uncaughtException', this.#handleExit)
45 this.#process.on('unhandledRejection', this.#handleExit)
46 }
47
48 exit (err) {
49 this.#handleExit(err)

Callers 2

mockExitHandlerFunction · 0.95
entry.jsFile · 0.45

Calls 1

onMethod · 0.45

Tested by

no test coverage detected