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

Function errorMessage

packages/acp-adapter/src/session.ts:1396–1398  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

1394 | { readonly kind: 'cancelled' };
1395
1396function errorMessage(error: unknown): string {
1397 return error instanceof Error ? error.message : String(error);
1398}
1399
1400function formatHelpReport(commands: readonly AvailableCommand[]): string {
1401 const visibleCommands: readonly AvailableCommand[] =

Callers 1

runBuiltInCommandMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected