effect-io-ai

Package: effect
Module: STM

STM.asSomeError

Maps the error value of this effect to an optional value.

Signature

declare const asSomeError: <A, E, R>(self: STM<A, E, R>) => STM<A, Option.Option<E>, R>

Source

Since v2.0.0