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

Function describeUnknownError

packages/agent-core/src/config/toml.ts:249–251  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

247}
248
249function describeUnknownError(error: unknown): string {
250 return error instanceof Error ? error.message : String(error);
251}
252
253/**
254 * One-line summary of a smol-toml parse error: first message line plus the

Callers 2

loadRuntimeConfigSafeFunction · 0.85
describeTomlSyntaxErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected