interface IValidationError

A single validation error for a rule

Properties

Type of validation error

ruleText: string

The rule text that failed validation

optional
lineNumber: number

Line number in the original source (if available)

message: string

Human-readable error message

optional
details: string

Additional context or details

optional
ast: AnyRule

The parsed AST node (if parsing succeeded)

optional
sourceName: string

Source name (if from a specific source)

Usage

import { type IValidationError } from ".";