effect-io-ai

Package: effect
Module: Encoding

Encoding.EncodingError

Error returned when an encoding or decoding operation cannot process its input.

When to use

Use when you need to handle or inspect failures from encoding or decoding operations.

Details

The error records whether the failure happened during encoding or decoding, which encoding module reported it, the original input, and a human-readable message.

See

Signature

declare class EncodingError

Source

Since v4.0.0