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);
    }