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

Function errorMessage

packages/node-sdk/src/rpc.ts:777–779  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

775}
776
777function errorMessage(error: unknown): string {
778 return error instanceof Error ? error.message : String(error);
779}

Callers 2

requestApprovalFunction · 0.70
requestQuestionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected