MCPcopy 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 */
845export 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.tsFile · 0.70

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected