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

Function onError

deps/undici/undici.js:9190–9195  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

9188 }
9189 __name(onEnd, "onEnd");
9190 function onError(err) {
9191 const stream = this;
9192 const state = stream[kRequestStreamState];
9193 stream.off("error", onError);
9194 state.abort(err);
9195 }
9196 __name(onError, "onError");
9197 function onFrameError(type, code) {
9198 const stream = this;

Callers 2

constructorMethod · 0.70
handleConnectErrorFunction · 0.70

Calls 3

abortMethod · 0.65
assertFunction · 0.50
offMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…