MCPcopy Create free account
hub / github.com/nodejs/undici / onResponseError

Method onResponseError

lib/handler/cache-handler.js:460–464  ·  view source on GitHub ↗
(controller, err)

Source from the content-addressed store, hash-verified

458 }
459
460 onResponseError (controller, err) {
461 this.#writeStream?.destroy(err)
462 this.#writeStream = undefined
463 this.#handler.onResponseError?.(controller, err)
464 }
465}
466
467/**

Callers

nothing calls this directly

Calls 2

onResponseErrorMethod · 0.65
destroyMethod · 0.45

Tested by

no test coverage detected