MCPcopy
hub / github.com/Effect-TS/effect / exitFailCause

Function exitFailCause

packages/effect/src/internal/core.ts:2478–2482  ·  view source on GitHub ↗
(cause: Cause.Cause<E>)

Source from the content-addressed store, hash-verified

2476
2477/** @internal */
2478export const exitFailCause = <E>(cause: Cause.Cause<E>): Exit.Exit<never, E> => {
2479 const effect = new EffectPrimitiveFailure(OpCodes.OP_FAILURE) as any
2480 effect.effect_instruction_i0 = cause
2481 return effect
2482}
2483
2484/** @internal */
2485export const exitFlatMap = dual<

Callers 7

Micro.tsFile · 0.85
exitFailFunction · 0.85
exitDieFunction · 0.85
core.tsFile · 0.85
exitDieFunction · 0.85
exitFailFunction · 0.85
exitInterruptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…