Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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 */
835
export
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 */
839
export
const
orElse = dual<
Callers
nothing calls this directly
Calls
1
die
Function · 0.70
Tested by
no test coverage detected