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

Method error

deps/undici/undici.js:12021–12024  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12019 #state;
12020 // Creates network error Response.
12021 static error() {
12022 const responseObject = fromInnerResponse(makeNetworkError(), "immutable");
12023 return responseObject;
12024 }
12025 // https://fetch.spec.whatwg.org/#dom-response-json
12026 static json(data, init = void 0) {
12027 webidl.argumentLengthCheck(arguments, 1, "Response.json");

Callers 15

compare.jsFile · 0.45
calibrate-n.jsFile · 0.45
run.jsFile · 0.45
_cli.jsFile · 0.45
_parseArgsMethod · 0.45
httpMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
index.jsFile · 0.45
index.jsFile · 0.45
index.jsFile · 0.45

Calls 2

fromInnerResponseFunction · 0.70
makeNetworkErrorFunction · 0.70

Tested by

no test coverage detected