Files
domain-watchdog/src/Exception/DomainNotFoundException.php
2025-10-07 15:55:17 +02:00

12 lines
287 B
PHP

<?php
namespace App\Exception;
class DomainNotFoundException extends \Exception
{
public static function fromDomain(string $ldhName): DomainNotFoundException
{
return new DomainNotFoundException("The domain name $ldhName is not present in the WHOIS database");
}
}