mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-20 08:16:34 +08:00
优化了流程的进行
This commit is contained in:
16
Library/Ex/FlipflopException.cs
Normal file
16
Library/Ex/FlipflopException.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace Serein.Library.Ex
|
||||
{
|
||||
/// <summary>
|
||||
/// 触发器
|
||||
/// </summary>
|
||||
public class FlipflopException: Exception
|
||||
{
|
||||
public bool IsCancel { get; }
|
||||
public FlipflopException(string message, bool isCancel = true) :base(message)
|
||||
{
|
||||
IsCancel = isCancel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user