namespace SIGCM2.Domain.Exceptions;

/// <summary>
/// Thrown when a requested Seccion does not exist in the system.
/// </summary>
public sealed class SeccionNotFoundException : DomainException
{
    public int Id { get; }

    public SeccionNotFoundException(int id)
        : base($"La sección con id '{id}' no existe.")
    {
        Id = id;
    }
}
