mirror of
https://gitea.tendokyu.moe/beerpsi/sinmai-mods.git
synced 2025-02-16 02:32:39 +01:00
20 lines
450 B
C#
20 lines
450 B
C#
|
using System;
|
||
|
|
||
|
namespace MoreChartFormats.Simai.Errors
|
||
|
{
|
||
|
[Serializable]
|
||
|
public class SimaiException : Exception
|
||
|
{
|
||
|
public readonly int line;
|
||
|
public readonly int character;
|
||
|
|
||
|
/// <param name="line">The line on which the error occurred</param>
|
||
|
/// <param name="character">The first character involved in the error</param>
|
||
|
public SimaiException(int line, int character)
|
||
|
{
|
||
|
this.character = character;
|
||
|
this.line = line;
|
||
|
}
|
||
|
}
|
||
|
}
|