2025-06-12 20:37:29 +03:30

17 lines
535 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)
{
}
}
}