effect-io-ai

Package: effect
Module: Terminal

Terminal.QuitError

Represents an error that occurs when a user attempts to quit out of a Terminal prompt for input (usually by entering ctrl+c).

When to use

Use when implementing terminal input or prompts that need to signal user-requested cancellation through the typed error channel.

See

Signature

declare class QuitError

Source

Since v4.0.0