ApiException.cs 299 B

123456789101112131415
  1. using System.Net;
  2. namespace AipGateway.API.Service.Exceptions
  3. {
  4. public class ApiException : Exception
  5. {
  6. public HttpStatusCode StatusCode => HttpStatusCode.InternalServerError;
  7. public ApiException(string? message)
  8. : base(message)
  9. {
  10. }
  11. }
  12. }