laravel / 10 / api / 10.x / illuminate / http / exceptions / throttlerequestsexception.html

ThrottleRequestsException

class ThrottleRequestsException extends TooManyRequestsHttpException (View source)

Methods

void __construct(string $message = '', Throwable $previous = null, array $headers = [], int $code = 0)

Create a new throttle requests exception instance.

Details

void __construct(string $message = '', Throwable $previous = null, array $headers = [], int $code = 0)

Create a new throttle requests exception instance.

Parameters

string $message
Throwable $previous
array $headers
int $code

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Http/Exceptions/ThrottleRequestsException.html