using System;

namespace VOID.Generic.Objects.Unit.Actions.Exceptions
{
    public class UnitActionErrorException : Exception
    {
        public readonly AbstractAction action;
        public readonly UnitActionErrorType unitActionErrorType;

        public UnitActionErrorException(AbstractAction action, UnitActionErrorType unitActionErrorType)
        {
            this.action = action;
            this.unitActionErrorType = unitActionErrorType;
        }
    }
}