using System;

namespace MECF.Framework.Common.Account.Permissions;

public class PermissionException : Exception
{
    #region Constructors

    public PermissionException(MenuPermissionEnum perm) : base("permission incorrect")
    {
        Permission = perm;
    }

    #endregion
    
    #region Properties

    public MenuPermissionEnum Permission { get; }

    #endregion
    
}