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:898–898 ·
view source on GitHub ↗
(error: E)
Source
from the content-addressed store, hash-verified
896
* @since 2.0.0
897
*/
898
export
const
fail = <E>(error: E): Stream<never, E> => fromChannel(Channel.fail(error))
899
900
/**
901
* 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.65
Tested by
no test coverage detected