ValidationError
type ValidationError = | { element: string; message: string; property: string; sourceSpan?: TemplateSourceSpan; suggestion?: string; type: "unknown-input";} | { element: string; message: string; property: string; sourceSpan?: TemplateSourceSpan; suggestion?: string; type: "unknown-output";} | { element: string; message: string; sourceSpan?: TemplateSourceSpan; suggestion?: string; type: "unknown-element";} | { element: "pipe"; message: string; property: string; sourceSpan?: TemplateSourceSpan; suggestion?: string; type: "unknown-pipe";} | { actual?: string; element: string; expected?: string | null; message: string; property: string; sourceSpan?: TemplateSourceSpan; suggestion?: string; type: "type-mismatch";} | { element: string; message: string; property: string; sourceSpan?: TemplateSourceSpan; suggestion?: string; type: "missing-required";} | { element: ""; message: string; type: "template-too-large";} | { element: ""; message: string; type: "angular-compiler-unavailable";};Defined in: packages/analyzer/src/types.ts:307
Discriminated on type. Each variant carries only the fields that make
sense for that error category. message and optional suggestion are
common; property / element / line are per-variant.