20 lines
463 B
C#
20 lines
463 B
C#
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;
|
|
}
|
|
}
|