/** * `TdcDiagnosticError` — single error type carried across all TDC pipeline * failures that have a point-in-source location. Parse-time, validate- * time, and (where feasible) render-time errors all funnel through this * class, so the CLI and the library API can catch one thing and pretty- * print it uniformly. * * The `message` property is built from the collected diagnostics so * callers that just log `err.message` still get useful output; callers * that want the full Rust-style formatted block should call * `formatDiagnostics(err.diagnostics, err.source)`. */ import type { Diagnostic } from './diagnostic.js'; export declare class TdcDiagnosticError extends Error { readonly diagnostics: readonly Diagnostic[]; /** Original DSL source, when available — used by the formatter for snippets. */ readonly source?: string; constructor(diagnostics: readonly Diagnostic[], source?: string); } //# sourceMappingURL=TdcDiagnosticError.d.ts.map