You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
429 B
C#
17 lines
429 B
C#
namespace Ds.Module.ResultFilter
|
|
{
|
|
public class BusinessException : Exception
|
|
{
|
|
public DsResultCode ErrorCode { get; set; }
|
|
|
|
public BusinessException(string message) : base(message)
|
|
{
|
|
ErrorCode = DsResultCode.Fail;
|
|
}
|
|
|
|
public BusinessException(DsResultCode errorCode, string message) : base(message)
|
|
{
|
|
this.ErrorCode = errorCode;
|
|
}
|
|
}
|
|
} |