Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ errorMessage
Function
errorMessage
packages/computer/src/git/worktree.ts:325–328 ·
view source on GitHub ↗
(cause: unknown)
Source
from the content-addressed store, hash-verified
323
}
324
325
function
errorMessage(cause: unknown): string {
326
if
(cause instanceof Error)
return
cause.message;
327
return
String(cause);
328
}
Callers
5
stashPushWith
Function · 0.70
stashListWith
Function · 0.70
stashPopWith
Function · 0.70
resetWith
Function · 0.70
cleanWith
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected