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

Function errorRequest

deps/undici/undici.js:2327–2334  ·  view source on GitHub ↗
(client, request, err)

Source from the content-addressed store, hash-verified

2325 }
2326 __name(removeAllListeners, "removeAllListeners");
2327 function errorRequest(client, request, err) {
2328 try {
2329 request.onResponseError(err);
2330 assert(request.aborted);
2331 } catch (err2) {
2332 client.emit("error", err2);
2333 }
2334 }
2335 __name(errorRequest, "errorRequest");
2336 var setupConnectTimeout = process.platform === "win32" ? (socketWeakRef, opts) => {
2337 if (!opts.timeout) {

Callers

nothing calls this directly

Calls 3

onResponseErrorMethod · 0.65
assertFunction · 0.50
emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…