init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Kreta.Core.Exceptions
|
||||
{
|
||||
public class WebApiException : Exception
|
||||
{
|
||||
public WebApiException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public WebApiException(string message, Exception inner) : base(message, inner)
|
||||
{
|
||||
}
|
||||
|
||||
public Dictionary<string, string> ErrorList { get; set; }
|
||||
|
||||
public bool IsUnHandled => InnerException != null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user