MCPcopy
hub / github.com/di-sukharev/opencommit / onError

Method onError

out/cli.cjs:52692–52702  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

52690 channels.trailers.publish({ request: this, trailers });
52691 }
52692 try {
52693 return this[kHandler].onComplete(trailers);
52694 } catch (err) {
52695 this.onError(err);
52696 }
52697 }
52698 onError(error) {
52699 this.onFinally();
52700 if (channels.error.hasSubscribers) {
52701 channels.error.publish({ request: this, error });
52702 }
52703 if (this.aborted) {
52704 return;
52705 }

Callers 1

onCompleteMethod · 0.95

Calls 2

onFinallyMethod · 0.95
onErrorMethod · 0.45

Tested by

no test coverage detected