Files
schengen-visa/SchengenVisaApi/Infrastructure/Database/GeneralExceptions/EntityNotFoundException.cs

9 lines
283 B
C#

using Domains;
namespace Infrastructure.Database.GeneralExceptions;
/// Exception to throw when entity not found
/// <typeparam name="T">Not found entity type</typeparam>
public class EntityNotFoundException<T>(string message) : Exception(message)
where T : class, IEntity;