MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / onError

Method onError

apps/kimi-web/src/api/daemon/ws.ts:43–43  ·  view source on GitHub ↗

Called on error frames or JSON parse failures

(code: number, msg: string, fatal: boolean)

Source from the content-addressed store, hash-verified

41 onConnectionState(connected: boolean): void;
42 /** Called on error frames or JSON parse failures */
43 onError(code: number, msg: string, fatal: boolean): void;
44 onTerminalOutput?(sessionId: string, terminalId: string, data: string, seq: number): void;
45 onTerminalExit?(sessionId: string, terminalId: string, exitCode: number | null): void;
46}

Callers 3

connectEventsMethod · 0.65
connectMethod · 0.65
handleFrameMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected