mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-19 16:06:33 +08:00
17 lines
341 B
C#
17 lines
341 B
C#
|
|
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;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|