core-build
This commit is contained in:
23
src/WMS.Web.Core/Exceptions/WebHttpException.cs
Normal file
23
src/WMS.Web.Core/Exceptions/WebHttpException.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Exceptions
|
||||
{
|
||||
public class WebHttpException : Exception
|
||||
{
|
||||
public string ErrorCode { get; set; }
|
||||
|
||||
public string ErrorMessage { get; set; }
|
||||
|
||||
public WebHttpException()
|
||||
{
|
||||
}
|
||||
|
||||
public WebHttpException(string errorCode, string errorMessage)
|
||||
{
|
||||
ErrorCode = errorCode;
|
||||
ErrorMessage = errorMessage;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user