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

Function formatErrorMessage

apps/kimi-code/src/cli/sub/upgrade.ts:194–196  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

192}
193
194function formatErrorMessage(error: unknown): string {
195 return error instanceof Error ? error.message : String(error);
196}
197
198function trackUpgradeEvent(
199 track: UpgradeTrack,

Callers 1

handleUpgradeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected