Drahak\Restful\Application\BadRequestException::tooManyRequests PHP Метод

tooManyRequests() публичный статический Метод

Is thrown to reject request due to rate limiting
public static tooManyRequests ( string $message = '', Exception | Throwable $previous = NULL ) : BadRequestException
$message string
$previous Exception | Throwable
Результат BadRequestException
    public static function tooManyRequests($message = '', $previous = NULL)
    {
        return new self($message, 429, $previous);
    }