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

Function processBodyError

deps/undici/src/lib/web/fetch/index.js:774–775  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

772 // 1. Let processBodyError be this step: run fetch finale given fetchParams
773 // and a network error.
774 const processBodyError = (reason) =>
775 fetchFinale(fetchParams, makeNetworkError(reason))
776
777 // 2. If request’s response tainting is "opaque", or response’s body is null,
778 // then run processBodyError and abort these steps.

Callers 5

mainFetchFunction · 0.85
httpNetworkFetchFunction · 0.85
mainFetchFunction · 0.85
processBodyFunction · 0.85
httpNetworkFetchFunction · 0.85

Calls 5

fetchFinaleFunction · 0.70
makeNetworkErrorFunction · 0.70
isCancelledFunction · 0.70
abortMethod · 0.65
terminateMethod · 0.45

Tested by

no test coverage detected