namespace SIGCM2.Domain.Exceptions;

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

    public IngresosBrutosNotFoundException(int id)
        : base($"El registro de Ingresos Brutos con id '{id}' no existe.")
    {
        Id = id;
    }
}
