Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
mockExitHandler
Function · 0.95
entry.js
File · 0.45
Calls
1
on
Method · 0.45
Tested by
no test coverage detected