updated exception

This commit is contained in:
Denis Duliçi 2022-09-15 11:34:24 +03:00
parent 8ef6f743bd
commit 56f0802c86

View File

@ -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);
}
}