mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-13 04:06:07 +08:00
15 lines
478 B
C#
15 lines
478 B
C#
using System.Net;
|
|
|
|
namespace BuildingBlocks.Exception;
|
|
|
|
public class AppException : CustomException
|
|
{
|
|
public AppException(string message, HttpStatusCode statusCode = HttpStatusCode.BadRequest, int? code = null) : base(message, statusCode, code: code)
|
|
{
|
|
}
|
|
|
|
public AppException(string message, System.Exception innerException, HttpStatusCode statusCode = HttpStatusCode.BadRequest, int? code = null) : base(message, innerException, statusCode, code)
|
|
{
|
|
}
|
|
}
|