public function CacheableUnauthorizedHttpException::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Http/Exception/CacheableUnauthorizedHttpException.php \Drupal\Core\Http\Exception\CacheableUnauthorizedHttpException::__construct()
- 9 core/lib/Drupal/Core/Http/Exception/CacheableUnauthorizedHttpException.php \Drupal\Core\Http\Exception\CacheableUnauthorizedHttpException::__construct()
File
- core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableUnauthorizedHttpException.php, line 19
Class
- CacheableUnauthorizedHttpException
- A cacheable UnauthorizedHttpException.
Namespace
Drupal\Core\Http\ExceptionCode
public function __construct(CacheableDependencyInterface $cacheability, $challenge, $message = '', \Exception $previous = NULL, $code = 0) {
$this
->setCacheability($cacheability);
parent::__construct($challenge, $message, $previous, $code);
}