MCPcopy Create free account
hub / github.com/cloudflare/computer / errorMessage

Function errorMessage

packages/computer/src/git/plumbing.ts:284–287  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

282}
283
284function errorMessage(cause: unknown): string {
285 if (cause instanceof Error) return cause.message;
286 return String(cause);
287}

Callers 5

hashObjectWithFunction · 0.70
catFileWithFunction · 0.70
updateRefWithFunction · 0.70
configGetWithFunction · 0.70
configSetWithFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected