manage conflict (generic way) use toast to show error (#588)
* manage conflict (generic way) use toast to show error * fix httpservice after merge conflict, adapt to use new repository
This commit is contained in:
1 parent
935167daaf
commit
8f55b1b56a
17 files changed
+337
-29
No files matched your search
@@ -1,14 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Microsoft.eShopWeb.ApplicationCore.Exceptions
|
||||
{
|
||||
public class DuplicateCatalogItemNameException : Exception
|
||||
{
|
||||
public DuplicateCatalogItemNameException(string message, int duplicateItemId) : base(message)
|
||||
{
|
||||
DuplicateItemId = duplicateItemId;
|
||||
}
|
||||
|
||||
public int DuplicateItemId { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Microsoft.eShopWeb.ApplicationCore.Exceptions
|
||||
{
|
||||
|
||||
public class DuplicateException : Exception
|
||||
{
|
||||
public DuplicateException(string message) : base(message)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user