MCPcopy Create free account
hub / github.com/Eversmile12/sharedcontext / toErrorMessage

Function toErrorMessage

src/cli/util.ts:25–27  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

23}
24
25export function toErrorMessage(err: unknown): string {
26 return err instanceof Error ? err.message : String(err);
27}
28
29export interface ResolvedIdentity {
30 encryptionKey: Uint8Array;

Callers 6

initCommandFunction · 0.85
initExistingCommandFunction · 0.85
autoSetupDetectedClientsFunction · 0.85
readJsonObjectFunction · 0.85
startMcpServerFunction · 0.85
syncDirtyFactsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected