MCPcopy
hub / github.com/partykit/partykit / invokeOnError

Method invokeOnError

packages/partykit/facade/source.ts:682–685  ·  view source on GitHub ↗
(connection: Party.Connection, err: Error)

Source from the content-addressed store, hash-verified

680 }
681
682 async invokeOnError(connection: Party.Connection, err: Error) {
683 assert(this.worker, "[onError] Worker not initialized.");
684 return this.worker.onError(connection, err);
685 }
686
687 async invokeOnMessage(
688 connection: Party.Connection,

Callers 2

handleErrorFromClientMethod · 0.80
webSocketErrorMethod · 0.80

Calls 2

assertFunction · 0.70
onErrorMethod · 0.45

Tested by

no test coverage detected