class CacheableTooManyRequestsHttpException
A cacheable TooManyRequestsHttpException.
Hierarchy
- class \Symfony\Component\HttpKernel\Exception\HttpException extends \Symfony\Component\HttpKernel\Exception\RuntimeException implements \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
- class \Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException
- class \Drupal\Core\Http\Exception\CacheableTooManyRequestsHttpException extends \Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException implements \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Core\Cache\CacheableDependencyTrait
- class \Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException
Expanded class hierarchy of CacheableTooManyRequestsHttpException
File
-
core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableTooManyRequestsHttpException.php, line 12
Namespace
Drupal\Core\Http\ExceptionView source
class CacheableTooManyRequestsHttpException extends TooManyRequestsHttpException implements CacheableDependencyInterface {
use CacheableDependencyTrait;
/**
* {@inheritdoc}
*/
public function __construct(CacheableDependencyInterface $cacheability, $retryAfter = NULL, $message = '', ?\Exception $previous = NULL, $code = 0) {
$this->setCacheability($cacheability);
parent::__construct($retryAfter, $message, $previous, $code);
}
}