Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ fail
Function
fail
packages/effect/src/internal/stm/core.ts:654–654 ·
view source on GitHub ↗
(error: E)
Source
from the content-addressed store, hash-verified
652
653
/** @internal */
654
export
const
fail = <E>(error: E): STM.STM<never, E> => failSync(() => error)
655
656
/** @internal */
657
export
const
failSync = <E>(evaluate: LazyArg<E>): STM.STM<never, E> => {
Callers
2
run
Method · 0.70
core.ts
File · 0.70
Calls
1
failSync
Function · 0.70
Tested by
no test coverage detected