namespace SIGCM2.Domain.Exceptions; /// /// Thrown when a requested Product does not exist. → HTTP 404 /// public sealed class ProductNotFoundException : DomainException { public int ProductId { get; } public ProductNotFoundException(int id) : base($"El producto con id={id} no existe.") { ProductId = id; } }