mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
refactor: change log level and add exceptions
This commit is contained in:
@@ -4,8 +4,8 @@ namespace App\Exception;
|
||||
|
||||
class UnknownRdapServerException extends \Exception
|
||||
{
|
||||
public static function fromTld(string $tld): UnknownRdapServerException
|
||||
public static function fromTld(string $tld): self
|
||||
{
|
||||
return new UnknownRdapServerException("TLD $tld: Unable to determine which RDAP server to contact");
|
||||
return new self("TLD $tld: Unable to determine which RDAP server to contact");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user