MCPcopy
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

apiErrorFunction · 0.45
retry.test.tsFile · 0.45
message-v2.test.tsFile · 0.45
error.test.tsFile · 0.45
publishPluginErrorFunction · 0.45
index.tsFile · 0.45
prompt.tsFile · 0.45
fromErrorFunction · 0.45

Calls

no outgoing calls

Tested by 1

apiErrorFunction · 0.36