namespace ColaFlow.Modules.IssueManagement.Domain.Exceptions;

/// <summary>
/// Exception thrown when a requested entity is not found
/// </summary>
public class NotFoundException : DomainException
{
    public NotFoundException(string entityName, object key)
        : base($"{entityName} with key '{key}' was not found")
    {
    }

    public NotFoundException(string message) : base(message)
    {
    }
}
