Documentation
    Preparing search index...

    Interface FourErrorOptions

    Optional extras attached to a FourError.

    interface FourErrorOptions {
        cause?: unknown;
        context?: Record<string, unknown>;
    }
    Index
    cause?: unknown

    The underlying failure, if this error wraps one.

    context?: Record<string, unknown>

    Structured detail for diagnostics and logs.