MCPcopy Create free account
hub / github.com/Effect-TS/effect / die

Function die

packages/effect/src/Stream.ts:864–864  ·  view source on GitHub ↗
(defect: unknown)

Source from the content-addressed store, hash-verified

862 * @since 2.0.0
863 */
864export const die = (defect: unknown): Stream<never> => fromChannel(Channel.die(defect))
865
866/**
867 * The stream that always fails with the specified lazily evaluated `Cause`.

Callers

nothing calls this directly

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected