Furball-Engine_Furball_Volpe/Furball.Volpe/Exceptions/UnexceptedSymbolException.cs
namespace Furball.Volpe.Exceptions; 

public class UnexceptedSymbolException : VolpeException
{
    public char Symbol { get; }
        
    public UnexceptedSymbolException(char symbol, PositionInText positionInText) 
        : base(positionInText)
    {
        Symbol = symbol;
    }

    public override string Description => $"unexpected symbol '{Symbol}'";
}