@metreeca/blue - v0.9.1
    Preparing search index...

    Type Alias Trace

    Trace: readonly (string | { readonly [key: string]: Trace })[]

    Validation trace.

    Represents the result of validating a resource against a shape. An empty trace signals successful validation with no issues. A non-empty trace is an array containing any combination of:

    • Violation messages (strings) describing value-level constraint failures
    • Objects mapping keys to nested traces for key-level violations

    This recursive structure allows traces to represent both immediate violations and nested key violations, providing a complete picture of validation failures throughout the resource structure.