MCPcopy
hub / github.com/cloudflare/capnweb / onSendError

Method onSendError

src/rpc.ts:563–567  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

561 }
562
563 onSendError(error: Error): Error | void {
564 if (this.options.onSendError) {
565 return this.options.onSendError(error);
566 }
567 }
568
569 private ensureResolvingExport(exportId: ExportId) {
570 let exp = this.exports[exportId];

Callers

nothing calls this directly

Calls 1

onSendErrorMethod · 0.65

Tested by

no test coverage detected