using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace iWareModel
{
///
/// 异常级别枚举
///
public enum ExceptionLevel
{
///
/// 警告
///
[Description("警告")]
Warning = 0,
///
/// 异常错误
///
[Description("异常错误")]
Error = 1,
///
/// 业务错误,默认错误
///
[Description("业务错误")]
BusinessError = 2,
///
/// 正常信息
///
[Description("信息")]
Info = 3,
///
/// 严重错误
///
[Description("严重错误")]
SeriousError = 4
}
///
/// 异常来源方向枚举
///
public enum ExceptionSource
{
///
/// 接收
///
Receive = 0,
///
/// 推送
///
Post = 1
}
}