2023-06-16 17:36:49 +08:00
|
|
|
using System;
|
|
|
|
|
2023-09-05 00:12:08 +08:00
|
|
|
namespace MECF.Framework.Common.Account;
|
2023-06-16 17:36:49 +08:00
|
|
|
|
|
|
|
public class PermissionException : Exception
|
|
|
|
{
|
|
|
|
#region Constructors
|
|
|
|
|
|
|
|
public PermissionException(MenuPermissionEnum perm) : base("permission incorrect")
|
|
|
|
{
|
|
|
|
Permission = perm;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region Properties
|
|
|
|
|
|
|
|
public MenuPermissionEnum Permission { get; }
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
}
|