effect-io-ai

Package: effect
Module: Layer

Layer.failSync

Constructs a layer that fails with the specified error.

Signature

declare const failSync: <E>(evaluate: LazyArg<E>) => Layer<unknown, E>

Source

Since v2.0.0