MCPcopy Index your code
hub / github.com/Effect-TS/effect / die

Function die

packages/effect/src/internal/cause.ts:97–102  ·  view source on GitHub ↗
(defect: unknown)

Source from the content-addressed store, hash-verified

95
96/** @internal */
97export const die = (defect: unknown): Cause.Cause<never> => {
98 const o = Object.create(proto)
99 o._tag = OpCodes.OP_DIE
100 o.defect = defect
101 return o
102}
103
104/** @internal */
105export const interrupt = (fiberId: FiberId.FiberId): Cause.Cause<never> => {

Callers 6

flipCauseOptionFunction · 0.70
keepDefectsFunction · 0.70
linearizeFunction · 0.70
cause.tsFile · 0.70
FilterCauseReducerFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected