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

Function throw

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

Source from the content-addressed store, hash-verified

1131 },
1132
1133 throw(err) {
1134 if (!err || !(err instanceof Error)) {
1135 throw new ERR_INVALID_ARG_TYPE('EventEmitter.AsyncIterator',
1136 'Error', err);
1137 }
1138 errorHandler(err);
1139 },
1140 [SymbolAsyncIterator]() {
1141 return this;
1142 },

Callers

nothing calls this directly

Calls 1

errorHandlerFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…