MCPcopy Create free account
hub / github.com/ehmicky/log-process-errors / isDoubleRejection

Function isDoubleRejection

src/events.js:49–50  ·  view source on GitHub ↗
(event, origin)

Source from the content-addressed store, hash-verified

47// With `--unhandled-rejections=strict`, `unhandledRejection` also emits an
48// `uncaughtException` event. We discard it to avoid repetitions.
49const isDoubleRejection = (event, origin) =>
50 event === 'uncaughtException' && origin === 'unhandledRejection'

Callers 1

handleEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…