MCPcopy
hub / github.com/nodejs/undici / onResponseError

Method onResponseError

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
[kDispatch]Method · 0.65
[kDestroy]Method · 0.65
[kDispatch]Method · 0.65
handleUncachedResponseFunction · 0.65
sendCachedValueFunction · 0.65
onResponseErrorMethod · 0.65
dns.jsFile · 0.65
onResponseEndMethod · 0.65
onResponseErrorMethod · 0.65
onResponseErrorMethod · 0.65
onResponseDataMethod · 0.65

Implementers 2

LegacyHandlerWrapperlib/dispatcher/dispatcher1-wrapper.js
Requestlib/core/request.js

Calls

no outgoing calls

Tested by

no test coverage detected