diff --git a/app/Exceptions/Common/TooManyEmailsSent.php b/app/Exceptions/Common/TooManyEmailsSent.php index 2831835f5..82a9e597e 100644 --- a/app/Exceptions/Common/TooManyEmailsSent.php +++ b/app/Exceptions/Common/TooManyEmailsSent.php @@ -2,9 +2,13 @@ namespace App\Exceptions\Common; -use Illuminate\Http\Exceptions\ThrottleRequestsException; +use RuntimeException; +use Throwable; -class TooManyEmailsSent extends ThrottleRequestsException +class TooManyEmailsSent extends RuntimeException { - // + public function __construct(string $message = '', int $code = 429, Throwable|null $previous = null) + { + parent::__construct($message, $code, $previous); + } }