You are here

public function CacheableServiceUnavailableHttpException::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Http/Exception/CacheableServiceUnavailableHttpException.php \Drupal\Core\Http\Exception\CacheableServiceUnavailableHttpException::__construct()
  2. 9 core/lib/Drupal/Core/Http/Exception/CacheableServiceUnavailableHttpException.php \Drupal\Core\Http\Exception\CacheableServiceUnavailableHttpException::__construct()

File

core/lib/Drupal/Core/Http/Exception/CacheableServiceUnavailableHttpException.php, line 19

Class

CacheableServiceUnavailableHttpException
A cacheable ServiceUnavailableHttpException.

Namespace

Drupal\Core\Http\Exception

Code

public function __construct(CacheableDependencyInterface $cacheability, $retryAfter = NULL, $message = '', \Exception $previous = NULL, $code = 0) {
  $this
    ->setCacheability($cacheability);
  parent::__construct($retryAfter, $message, $previous, $code);
}