mirror of https://github.com/EasyAbp/EShop.git
13 changed files with 24 additions and 24 deletions
@ -1,13 +0,0 @@ |
|||
using System; |
|||
using Volo.Abp; |
|||
|
|||
namespace EasyAbp.EShop.Orders.Orders |
|||
{ |
|||
public class CurrencyIsLimitException : BusinessException |
|||
{ |
|||
public CurrencyIsLimitException(string expectedCurrency) : base(OrdersErrorCodes.CurrencyIsLimit) |
|||
{ |
|||
WithData(nameof(expectedCurrency), expectedCurrency); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
using System; |
|||
using Volo.Abp; |
|||
|
|||
namespace EasyAbp.EShop.Orders.Orders |
|||
{ |
|||
public class UnexpectedCurrencyException : BusinessException |
|||
{ |
|||
public UnexpectedCurrencyException(string expectedCurrency) : base(OrdersErrorCodes.UnexpectedCurrency) |
|||
{ |
|||
WithData(nameof(expectedCurrency), expectedCurrency); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue