namespace AvParser.Core.Parsing; /// A recoverable problem with a single record. Parsing continues after one of these. /// 1-based position of the offending record in the input. /// What went wrong, phrased for a user rather than a developer. public sealed record ParseError(int LineNumber, string Message) { /// public override string ToString() => $"Line {LineNumber}: {Message}"; }