effect-io-ai

Package: effect
Module: STM

STM.dieMessage

Kills the fiber running the effect with a Cause.RuntimeException that contains the specified message.

Signature

declare const dieMessage: (message: string) => STM<never>

Source

Since v2.0.0