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

Function errorMessage

packages/computer/src/git/reads.ts:430–433  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

428}
429
430function errorMessage(cause: unknown): string {
431 if (cause instanceof Error) return cause.message;
432 return String(cause);
433}

Callers 6

logWithFunction · 0.70
showWithFunction · 0.70
revParseWithFunction · 0.70
currentBranchWithFunction · 0.70
lsFilesWithFunction · 0.70
lsTreeWithFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected