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
@@ -0,0 +1,14 @@
|
||||
using System.Text.Json;
|
||||
|
||||
namespace BlazorShared.Models
|
||||
{
|
||||
public class ErrorDetails
|
||||
{
|
||||
public int StatusCode { get; set; }
|
||||
public string Message { get; set; }
|
||||
public override string ToString()
|
||||
{
|
||||
return JsonSerializer.Serialize(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user