effect-io-ai

Package: effect
Module: Micro

Micro.failSync

Creates a Micro effect that will fail with the lazily evaluated error.

This results in a Fail variant of the MicroCause type, where the error is tracked at the type level.

Signature

declare const failSync: <E>(error: LazyArg<E>) => Micro<never, E>

Source

Since v3.4.6