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

Function makeNetworkError

github-actions/browserstack/set-browserstack-env.js:12879–12887  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

12877 }
12878 (_a = options.colors) != null ? _a : options.colors = true;
12879 const properties = {
12880 status: this.status,
12881 statusText: this.statusText,
12882 headers: this.headers,
12883 body: this.body,
12884 bodyUsed: this.bodyUsed,
12885 ok: this.ok,
12886 redirected: this.redirected,
12887 type: this.type,
12888 url: this.url
12889 };
12890 return `Response ${nodeUtil.formatWithOptions(options, properties)}`;

Callers 9

errorMethod · 0.70
mainFetchFunction · 0.70
processBodyErrorFunction · 0.70
schemeFetchFunction · 0.70
httpFetchFunction · 0.70
httpRedirectFetchFunction · 0.70
httpNetworkOrCacheFetchFunction · 0.70
httpNetworkFetchFunction · 0.70

Calls 2

isErrorLikeFunction · 0.70
makeResponseFunction · 0.70

Tested by

no test coverage detected