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

Method onError

github-actions/browserstack/set-browserstack-env.js:2086–2096  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

2084 assert(!this.aborted);
2085 assert(!this.completed);
2086 if (statusCode !== null) {
2087 __privateMethod(this, _publishUpgradeHeaders, publishUpgradeHeaders_fn).call(this, statusCode, headers, statusText);
2088 }
2089 const result = this[kHandler].onUpgrade(statusCode, headers, socket);
2090 if (!this.aborted) {
2091 this.completed = true;
2092 if (statusCode !== null) {
2093 __privateMethod(this, _publishUpgradeTrailers, publishUpgradeTrailers_fn).call(this);
2094 }
2095 }
2096 return result;
2097 }
2098 /**
2099 * @param {number} statusCode

Callers 13

errorRequestFunction · 0.45
onCompleteMethod · 0.45
dispatchMethod · 0.45
[kDestroy]Method · 0.45
[kDispatch]Method · 0.45
onErrorMethod · 0.45
onRetryMethod · 0.45
constructorMethod · 0.45
mockDispatchFunction · 0.45
handleReplyFunction · 0.45
onDataMethod · 0.45
""Function · 0.45

Calls 8

removeSignalFunction · 0.70
__privateGetFunction · 0.70
__spreadPropsFunction · 0.70
__spreadValuesFunction · 0.70
onFinallyMethod · 0.45
destroyMethod · 0.45
offMethod · 0.45
runLookupMethod · 0.45

Tested by

no test coverage detected