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

Function errorMessage

apps/kimi-code/src/cli/sub/provider.ts:541–543  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

539}
540
541function errorMessage(error: unknown): string {
542 return error instanceof Error ? error.message : String(error);
543}

Callers 3

handleProviderAddFunction · 0.70
loadCatalogOrExitFunction · 0.70
runActionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected