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

Function orDie

packages/effect/src/internal/layer.ts:834–835  ·  view source on GitHub ↗
(self: Layer.Layer<A, E, R>)

Source from the content-addressed store, hash-verified

832
833/** @internal */
834export const orDie = <A, E, R>(self: Layer.Layer<A, E, R>): Layer.Layer<A, never, R> =>
835 catchAll(self, (defect) => die(defect))
836
837/** @internal */
838export const orElse = dual<

Callers

nothing calls this directly

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…