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 }
2085 }
2086 onError(error) {
2087 this.onFinally();
2088 if (channels.error.hasSubscribers) {
2089 channels.error.publish({ request: this, error });
2090 }
2091 if (this.aborted) {
2092 return;
2093 }
2094 this.aborted = true;
2095 return this[kHandler].onError(error);
2096 }
2097 onFinally() {
2098 if (this.errorHandler) {
2099 this.body.off("error", this.errorHandler);

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