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

Function errorMessage

packages/computer/src/git/status.ts:121–124  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

119}
120
121function errorMessage(cause: unknown): string {
122 if (cause instanceof Error) return cause.message;
123 return String(cause);
124}
125
126/** Render `entries` as porcelain v2 lines. */
127export function formatPorcelainV2(entries: StatusEntry[]): string {

Callers 1

statusWithFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected