MCPcopy Create free account
hub / github.com/effect-app/libs / failCause

Function failCause

repos/effect/packages/effect/src/Sink.ts:605–606  ·  view source on GitHub ↗
(cause: Cause.Cause<E>)

Source from the content-addressed store, hash-verified

603 * A sink that always fails with the specified lazily evaluated error.
604 *
605 * **Example** (Failing with a lazy error)
606 *
607 * ```ts import.meta.vitest
608 * import { Effect, Exit, Sink, Stream } from "effect"
609 *

Callers 14

interruptFunction · 0.70
endFunction · 0.70
Deferred.tsFile · 0.70
failFunction · 0.70
endFunction · 0.70
interruptFunction · 0.70
Queue.tsFile · 0.70
interruptUnsafeMethod · 0.50
failCauseSyncFunction · 0.50
[contE]Function · 0.50
onExitFunction · 0.50
effect.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…