using System; namespace MoreChartFormats.Simai.Errors { [Serializable] public class SimaiException : Exception { public readonly int line; public readonly int character; /// The line on which the error occurred /// The first character involved in the error public SimaiException(int line, int character) { this.character = character; this.line = line; } } }