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

Function errorMessage

packages/agent-core/src/loop/errors.ts:29–32  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

27}
28
29export function errorMessage(err: unknown): string {
30 if (err instanceof Error) return err.message;
31 return String(err);
32}

Callers 13

executeInBackgroundMethod · 0.90
prepareToolCallFunction · 0.90
runRunnableToolCallFunction · 0.90
parseToolCallArgumentsFunction · 0.90
runTurnFunction · 0.90
executeLoopStepFunction · 0.90
runTaskLifecycleMethod · 0.90
startMethod · 0.90
startMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected