Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ fail
Function
fail
packages/effect/src/Sink.ts:600–600 ·
view source on GitHub ↗
(e: E)
Source
from the content-addressed store, hash-verified
598
* @since 2.0.0
599
*/
600
export
const
fail = <E>(e: E): Sink<never, unknown, never, E> => fromEffectEnd(Effect.fail(e))
601
602
/**
603
* A sink that always fails with the specified lazily evaluated error.
Callers
5
Deferred.ts
File · 0.70
Effect.ts
File · 0.70
Result.ts
File · 0.70
try_
Function · 0.70
flip
Function · 0.70
Calls
1
fail
Method · 0.45
Tested by
no test coverage detected