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

Function errorMessage

packages/computer/src/git/refs.ts:250–253  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

248}
249
250function errorMessage(cause: unknown): string {
251 if (cause instanceof Error) return cause.message;
252 return String(cause);
253}

Callers 7

branchWithFunction · 0.70
branchDeleteWithFunction · 0.70
branchListWithFunction · 0.70
tagWithFunction · 0.70
tagDeleteWithFunction · 0.70
tagListWithFunction · 0.70
checkoutWithFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected