Interface ValidationResult

The result returned by GraphValidator.validate().

valid is true iff errors is empty — warnings do not affect validity.

interface ValidationResult {
    valid: boolean;
    errors: string[];
    warnings: string[];
}

Properties

Properties

valid: boolean

true when no structural errors were found.

errors: string[]

Fatal structural problems that would prevent correct execution.

warnings: string[]

Non-fatal issues that should be reviewed but do not block execution.