Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ formatRunError
Function
formatRunError
packages/opencode/src/cli/cmd/run.ts:86–88 ·
view source on GitHub ↗
(error: unknown)
Source
from the content-addressed store, hash-verified
84
}
85
86
function
formatRunError(error: unknown) {
87
return
FormatError(error) ?? FormatUnknownError(error)
88
}
89
90
async
function
tool(part: ToolPart) {
91
try {
Callers
1
execute
Function · 0.85
Calls
2
FormatError
Function · 0.90
FormatUnknownError
Function · 0.90
Tested by
no test coverage detected