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

Function orDie

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected