MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / onError

Method onError

src/shared/back/SocketClient.ts:237–242  ·  view source on GitHub ↗
(err: any)

Source from the content-addressed store, hash-verified

235 }
236
237 protected onError(err: any): void {
238 console.log(`Socket Error - ${err}`);
239 if (!this.abortReconnects) {
240 this.reconnect();
241 }
242 }
243
244 protected onOpen(): void {
245 const listeners = this.when_listeners.slice();

Callers 5

mapMethod · 0.45
mapRawMethod · 0.45
arrayMethod · 0.45
arrayRawMethod · 0.45
propMethod · 0.45

Calls 1

reconnectMethod · 0.95

Tested by

no test coverage detected