Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ errorMessage
Function
errorMessage
packages/computer/src/git/staging.ts:191–194 ·
view source on GitHub ↗
(cause: unknown)
Source
from the content-addressed store, hash-verified
189
}
190
191
function
errorMessage(cause: unknown): string {
192
if
(cause instanceof Error)
return
cause.message;
193
return
String(cause);
194
}
Callers
3
addWith
Function · 0.70
addAll
Function · 0.70
rmWith
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected