effect-io-ai

Package: effect
Module: PlatformError

PlatformError.BadArgument

Error data for an invalid argument passed to a platform API.

When to use

Use when you need to model caller input rejected before a platform operation runs, including invalid-argument reason data.

Details

The error records the module and method that rejected the argument, with an optional description and cause. It is usually wrapped in PlatformError.

See

Signature

declare class BadArgument

Source

Since v4.0.0