Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
export
function
errorMessage(err: unknown): string {
30
if
(err instanceof Error)
return
err.message;
31
return
String(err);
32
}
Callers
13
executeInBackground
Method · 0.90
prepareToolCall
Function · 0.90
runPrepareToolExecutionHook
Function · 0.90
runAuthorizeToolExecutionHook
Function · 0.90
runRunnableToolCall
Function · 0.90
finalizePendingToolResult
Function · 0.90
parseToolCallArguments
Function · 0.90
runTurn
Function · 0.90
executeLoopStep
Function · 0.90
runTaskLifecycle
Method · 0.90
start
Method · 0.90
start
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected