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

Function errorMessage

packages/computer/src/git/network.ts:507–510  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

505}
506
507function errorMessage(cause: unknown): string {
508 if (cause instanceof Error) return cause.message;
509 return String(cause);
510}

Callers 7

fetchWithFunction · 0.70
pushWithFunction · 0.70
pullWithFunction · 0.70
mergeWithFunction · 0.70
remoteAddWithFunction · 0.70
remoteRemoveWithFunction · 0.70
remoteListWithFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected