patbef-ServiceOutside/ServiceShared/Models/Response/Exception/MaintenanceException.cs

17 lines
489 B
C#
Raw Permalink Normal View History

2024-01-29 16:27:34 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceShared.Models.Response.Exception
{
/// <summary>
/// This exception will be thrown when Maintenance mode has been activated
/// </summary>
public class MaintenanceException : ResponseException
{
public override Types error_type => Types.Maintenance;
public override string message => "maintenance activated";
}
}