Skip to content

TooManyRequestsException


Methods

__construct

public __construct(string $message = 'Too Many Requests: The request you are making cannot be ' . 'completed because you are making too many requests to this ' . 'system. Please try again later.', int $code = 429, ?\Throwable $previous = null): mixed

Parameters:

Parameter Type Description
$message string
$code int
$previous ?\Throwable

Inherited methods

__construct

public __construct(?string $message = '', int $code = 0, ?\Throwable $previous = null): mixed

Parameters:

Parameter Type Description
$message ?string
$code int
$previous ?\Throwable

Throws:


__toString

public __toString(): string