MCPcopy Create free account
hub / github.com/WarFrontIO/client / catch

Method catch

src/network/api/Endpoint.ts:122–128  ·  view source on GitHub ↗

* Adds a listener for any unhanded status code or error. * @param callback Callback to call when an unhandled status code is received

(callback: (data: { [K in keyof T]: { error: false, code: K, data: T[K] } }[keyof T] | { error: true, data: unknown }) => void)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

tryStartGameFunction · 0.80
setupMethod · 0.80
tryFetchUserTokenFunction · 0.80
awaitSafeForwardFunction · 0.80
loginFunction · 0.80
connectToServerFunction · 0.80
constructorMethod · 0.80
awaitMethod · 0.80
openMultiplayerLobbyFunction · 0.80
copyMethod · 0.80
funcFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected