namespace SIGCM2.Domain.Exceptions;

/// <summary>
/// Thrown when an operation would remove the last active admin from the system,
/// causing a lockout condition.
/// </summary>
public sealed class LastAdminLockoutException : DomainException
{
    public LastAdminLockoutException()
        : base("No se puede desactivar o cambiar el rol del último administrador activo.") { }
}
