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

Method onResponseError

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

Source from the content-addressed store, hash-verified

444 }
445
446 onResponseError (controller, err) {
447 this.#writeStream?.destroy(err)
448 this.#writeStream = undefined
449 this.#handler.onResponseError?.(controller, err)
450 }
451}
452
453/**

Callers

nothing calls this directly

Calls 2

onResponseErrorMethod · 0.65
destroyMethod · 0.45

Tested by

no test coverage detected