Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NotAcceptableHttpException.php

function NotAcceptableHttpException::__construct

Overrides HttpException::__construct

2 calls to NotAcceptableHttpException::__construct()
CacheableNotAcceptableHttpException::__construct in core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php
CacheableNotAcceptableHttpException::__construct in core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php
1 method overrides NotAcceptableHttpException::__construct()
CacheableNotAcceptableHttpException::__construct in core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php

File

vendor/symfony/http-kernel/Exception/NotAcceptableHttpException.php, line 19

Class

NotAcceptableHttpException
@author Ben Ramsey <ben@benramsey.com>

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function __construct(string $message = '', ?\Throwable $previous = null, int $code = 0, array $headers = []) {
    parent::__construct(406, $message, $previous, $headers, $code);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal