updated exception
This commit is contained in:
parent
8ef6f743bd
commit
56f0802c86
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user