Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ fail
Function
fail
packages/effect/src/Stream.ts:807–807 ·
view source on GitHub ↗
(error: E)
Source
from the content-addressed store, hash-verified
805
* @since 2.0.0
806
*/
807
export
const
fail = <E>(error: E): Stream<never, E> => fromChannel(Channel.fail(error))
808
809
/**
810
* Terminates with the specified lazily evaluated error.
Callers
2
loop
Function · 0.70
Stream.ts
File · 0.70
Calls
2
fromChannel
Function · 0.70
fail
Method · 0.45
Tested by
no test coverage detected