修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
400421a337
commit
10fc07ec03
|
@ -1,17 +1,22 @@
|
||||||
using System;
|
using IRaCIS.Core.Infrastructure.Extention;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Infrastructure
|
namespace IRaCIS.Core.Infrastructure
|
||||||
{
|
{
|
||||||
public class BusinessValidationFailedException : Exception
|
public class BusinessValidationFailedException : Exception
|
||||||
{
|
{
|
||||||
|
public ApiResponseCodeEnum Code { get; set; }
|
||||||
|
|
||||||
public BusinessValidationFailedException()
|
public BusinessValidationFailedException()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public BusinessValidationFailedException( string message) : base(message)
|
public BusinessValidationFailedException(string message, ApiResponseCodeEnum code = ApiResponseCodeEnum.BusinessValidationFailed) : base(message)
|
||||||
{
|
{
|
||||||
}
|
Code = code;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue