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

Method onResponseError

deps/undici/src/types/dispatcher.d.ts:224–224  ·  view source on GitHub ↗
(controller: DispatchController, error: Error)

Source from the content-addressed store, hash-verified

222 onResponseData?(controller: DispatchController, chunk: Buffer): void;
223 onResponseEnd?(controller: DispatchController, trailers: IncomingHttpHeaders): void;
224 onResponseError?(controller: DispatchController, error: Error): void;
225
226 /** Invoked when response is received, before headers have been read. **/
227 onResponseStarted?(): void;

Callers 15

dispatchMethod · 0.65
[kDestroy]Method · 0.65
errorRequestFunction · 0.65
onResponseEndMethod · 0.65
onResponseErrorMethod · 0.65
[kDispatch]Method · 0.65
onResponseStartFunction · 0.65
constructorMethod · 0.65
dispatchMethod · 0.65
[kDispatch]Method · 0.65
[kDestroy]Method · 0.65
[kDispatch]Method · 0.65

Implementers 2

LegacyHandlerWrapperdeps/undici/src/lib/dispatcher/dispatc
Requestdeps/undici/src/lib/core/request.js

Calls

no outgoing calls

Tested by

no test coverage detected