2025-07-23 16:18:05 +03:30

16 lines
534 B
C#

using System.Net;
using BuildingBlocks.Exception;
namespace SmartCharging.Infrastructure.Exceptions
{
public class DomainException : CustomException
{
public DomainException(string message, HttpStatusCode statusCode = HttpStatusCode.BadRequest) : base(message, statusCode)
{
}
public DomainException(string message, Exception innerException, HttpStatusCode statusCode = HttpStatusCode.BadRequest, int? code = null) : base(message, innerException, statusCode, code)
{
}
}
}