Validation error details

interface ValidationError {
    path: string;
    message: string;
    code?: string;
}

Properties

Properties

path: string

Path to the field with error (dot notation)

message: string

Error message

code?: string

Error code (if available)