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:
11
src/Exception/Provider/EppContactIsAvailableException.php
Normal file
11
src/Exception/Provider/EppContactIsAvailableException.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exception\Provider;
|
||||
|
||||
class EppContactIsAvailableException extends AbstractProviderException
|
||||
{
|
||||
public static function fromContact(string $handle): self
|
||||
{
|
||||
return new self("At least one of the entered contacts cannot be used because it is indicated as available ($handle)");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user