Setu-TS
    Preparing search index...

    Interface ValidationError

    A single validation failure carried by a 422 error.

    Mirrors the shape used by @setu-ts/validation-plugin so error payloads are consistent across the validation and exceptions packages.

    0.1.0

    interface ValidationError {
        code?: string;
        field: string;
        message: string;
    }
    Index
    code?: string

    Optional machine-readable failure code.

    field: string

    Dot-path of the offending field (e.g. "address.zip").

    message: string

    Human-readable description of the failure.