committed by
GitHub
10 changed files with 133 additions and 46 deletions
@ -0,0 +1,24 @@ |
|||
using System; |
|||
|
|||
namespace Microsoft.eShopWeb.ApplicationCore.Exceptions |
|||
{ |
|||
public class EmptyBasketOnCheckoutException : Exception |
|||
{ |
|||
public EmptyBasketOnCheckoutException() |
|||
: base($"Basket cannot have 0 items on checkout") |
|||
{ |
|||
} |
|||
|
|||
protected EmptyBasketOnCheckoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) |
|||
{ |
|||
} |
|||
|
|||
public EmptyBasketOnCheckoutException(string message) : base(message) |
|||
{ |
|||
} |
|||
|
|||
public EmptyBasketOnCheckoutException(string message, Exception innerException) : base(message, innerException) |
|||
{ |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue