Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ errorText
Function
errorText
packages/core/src/background-job.ts:108–111 ·
view source on GitHub ↗
(error: unknown)
Source
from the content-addressed store, hash-verified
106
}
107
108
function
errorText(error: unknown) {
109
if
(error instanceof Error)
return
error.message
110
return
String(error)
111
}
112
113
/**
114
* Makes one scoped, process-local registry. Entries are intentionally not
Callers
1
background-job.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected