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

Function formatUnknownErrorMessage

apps/kimi-code/src/cli/startup-error.ts:11–13  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

9}
10
11function formatUnknownErrorMessage(error: unknown): string {
12 return error instanceof Error ? error.message : String(error);
13}
14
15export function formatStartupError(
16 error: unknown,

Callers 1

formatStartupErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected