MCPcopy Create free account
hub / github.com/angular/dev-infra / error

Method error

github-actions/saucelabs/set-saucelabs-env.js:12684–12687  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12682 var Response = class _Response {
12683 // Creates network error Response.
12684 static error() {
12685 const responseObject = fromInnerResponse(makeNetworkError(), "immutable");
12686 return responseObject;
12687 }
12688 // https://fetch.spec.whatwg.org/#dom-response-json
12689 static json(data, init = {}) {
12690 webidl.argumentLengthCheck(arguments, 1, "Response.json");

Callers 15

validateCommitRangeFunction · 0.45
readConfigFileFunction · 0.45
runMethod · 0.45
getSnapshotArtifactsMethod · 0.45
handlerFunction · 0.45
handlerFunction · 0.45
deprecateFunction · 0.45
runMethod · 0.45

Calls 2

fromInnerResponseFunction · 0.70
makeNetworkErrorFunction · 0.70

Tested by

no test coverage detected