namespace SIGCM2.Domain.Exceptions;

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

    public MedioNotFoundException(int id)
        : base($"El medio con id '{id}' no existe.")
    {
        Id = id;
    }
}
