Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ failCause
Function
failCause
packages/effect/src/Stream.ts:845–845 ·
view source on GitHub ↗
(cause: Cause.Cause<E>)
Source
from the content-addressed store, hash-verified
843
* @since 2.0.0
844
*/
845
export
const
failCause = <E>(cause: Cause.Cause<E>): Stream<never, E> => fromChannel(Channel.failCause(cause))
846
847
/**
848
* The stream that dies with the specified defect.
Callers
1
Stream.ts
File · 0.70
Calls
1
fromChannel
Function · 0.70
Tested by
no test coverage detected