using Domains;
namespace ApplicationLayer.GeneralExceptions;
/// Exception to throw when entity not found
/// Identifier of entity
/// Type of entity
public class EntityNotFoundByIdException(Guid id) : EntityNotFoundException($"{typeof(T).Name} with id {id} not found.")
where T : class, IEntity;