Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
430
function
errorMessage(cause: unknown): string {
431
if
(cause instanceof Error)
return
cause.message;
432
return
String(cause);
433
}
Callers
6
logWith
Function · 0.70
showWith
Function · 0.70
revParseWith
Function · 0.70
currentBranchWith
Function · 0.70
lsFilesWith
Function · 0.70
lsTreeWith
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected