Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ toObject
Method
toObject
packages/core/src/util/error.ts:55–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
}
54
55
toObject() {
56
return
{
57
name: name,
58
data: this.data,
59
}
60
}
61
}
62
Object.defineProperty(result,
"name"
, { value: name })
63
return
result
Callers
15
legacy-event-schema.test.ts
File · 0.45
structured-output-integration.test.ts
File · 0.45
apiError
Function · 0.45
retry.test.ts
File · 0.45
message-v2.test.ts
File · 0.45
structured-output.test.ts
File · 0.45
messages-pagination.test.ts
File · 0.45
error.test.ts
File · 0.45
publishPluginError
Function · 0.45
index.ts
File · 0.45
prompt.ts
File · 0.45
fromError
Function · 0.45
Calls
no outgoing calls
Tested by
1
apiError
Function · 0.36