using ApplicationLayer.GeneralExceptions;
using Domains;
namespace Infrastructure.Database.GeneralExceptions;
/// Exception to throw when entity not found
/// Not found entity type
public class EntityNotFoundException(string message) : ApiException(message)
    where T : class, IEntity;