Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
250
function
errorMessage(cause: unknown): string {
251
if
(cause instanceof Error)
return
cause.message;
252
return
String(cause);
253
}
Callers
7
branchWith
Function · 0.70
branchDeleteWith
Function · 0.70
branchListWith
Function · 0.70
tagWith
Function · 0.70
tagDeleteWith
Function · 0.70
tagListWith
Function · 0.70
checkoutWith
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected