updated exception
This commit is contained in:
		| @@ -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); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user