Proje dosyaları eklendi
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Serp\Operations;
|
||||
|
||||
use App\Serp\Exceptions\PermanentProviderException;
|
||||
|
||||
class OperationBlockedException extends PermanentProviderException
|
||||
{
|
||||
public function __construct(private readonly string $reason)
|
||||
{
|
||||
parent::__construct($reason);
|
||||
}
|
||||
|
||||
public function safeCode(): string
|
||||
{
|
||||
return $this->reason;
|
||||
}
|
||||
|
||||
public function safeMessage(): string
|
||||
{
|
||||
return 'SERP kontrol hizmeti şu anda kullanılamıyor.';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user