Skip to content
JS
Node.js error

ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE

process.setUncaughtExceptionCaptureCallback() could not be called because the node:domain module has been loaded at an earlier point in time. The stack trace is extended to include the point in time at which the node:domain module had been loaded.

Reference entryNode.jsFetched

Node.js documentation lists the code ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE without the printed message text.

Category
Node.js error codes
Severity
error
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.379Z.