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

Function onFrameError

deps/undici/undici.js:9197–9202  ·  view source on GitHub ↗
(type, code)

Source from the content-addressed store, hash-verified

9195 }
9196 __name(onError, "onError");
9197 function onFrameError(type, code) {
9198 const stream = this;
9199 const state = stream[kRequestStreamState];
9200 stream.off("frameError", onFrameError);
9201 state.abort(new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`));
9202 }
9203 __name(onFrameError, "onFrameError");
9204 function onAborted() {
9205 this.off("data", onData);

Callers

nothing calls this directly

Calls 2

abortMethod · 0.65
offMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…