effect-io-ai

Package: effect
Module: Layer

Layer.die

Constructs a layer that dies with the specified defect.

Signature

declare const die: (defect: unknown) => Layer<unknown>

Source

Since v2.0.0