mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
12 lines
286 B
PHP
12 lines
286 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Exception;
|
||
|
|
|
||
|
|
class UnknownRdapServerException extends \Exception
|
||
|
|
{
|
||
|
|
public static function fromTld(string $tld): UnknownRdapServerException
|
||
|
|
{
|
||
|
|
return new UnknownRdapServerException("TLD $tld: Unable to determine which RDAP server to contact");
|
||
|
|
}
|
||
|
|
}
|