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

Function errorHandler

lib/events.js:1210–1215  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

1208 }
1209
1210 function errorHandler(err) {
1211 if (unconsumedPromises.isEmpty()) error = err;
1212 else unconsumedPromises.shift().reject(err);
1213
1214 closeHandler();
1215 }
1216
1217 function closeHandler() {
1218 abortListenerDisposable?.[SymbolDispose]();

Callers 3

throwFunction · 0.70
abortListenerFunction · 0.70
completion.jsFile · 0.50

Calls 4

closeHandlerFunction · 0.85
rejectMethod · 0.80
isEmptyMethod · 0.45
shiftMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…