using Domains.LocationDomain; using Infrastructure.Database.GeneralExceptions; namespace Infrastructure.Database.Locations.Repositories.Cities.Exceptions { /// Exception to throw when city cannot be found by its name and its country name /// Name of the city /// name of the city's country public class CityNotFoundByNameException(string name, string countryName) : EntityNotFoundException($"{name} with country {countryName} not found."); }