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

Function ignoreUnhandledRejectionsMode

lib/internal/process/promises.js:293–296  ·  view source on GitHub ↗

* --unhandled-rejections=none: * Emit 'unhandledRejection', but do not emit any warning. * @type {UnhandledRejectionsModeHandler}

(promise, promiseInfo)

Source from the content-addressed store, hash-verified

291 * @type {UnhandledRejectionsModeHandler}
292 */
293function ignoreUnhandledRejectionsMode(promise, promiseInfo) {
294 emitUnhandledRejection(promise, promiseInfo);
295 return true;
296}
297
298/**
299 * --unhandled-rejections=warn:

Callers

nothing calls this directly

Calls 1

emitUnhandledRejectionFunction · 0.85

Tested by

no test coverage detected