MCPcopy Create free account
hub / github.com/Effect-TS/effect / toJSON

Method toJSON

packages/effect/src/internal/core.ts:301–306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 return `Die(${format(this.defect)})`
300 }
301 toJSON(): unknown {
302 return {
303 _tag: "Die",
304 defect: this.defect
305 }
306 }
307 [Equal.symbol](that: any): boolean {
308 return (
309 isDieReason(that) &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected