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

Function onError

packages/kaos/src/local.ts:894–897  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

892 resolve();
893 };
894 const onError = (err: Error): void => {
895 child.off('spawn', onSpawn);
896 reject(err);
897 };
898 child.once('spawn', onSpawn);
899 child.once('error', onError);
900 });

Callers

nothing calls this directly

Calls 2

rejectFunction · 0.85
offMethod · 0.65

Tested by

no test coverage detected