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

Breadcrumb

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

class UnprocessableEntityHttpException

@author Steve Hutchins <hutchinsteve@gmail.com>

Hierarchy

  • class \Symfony\Component\HttpKernel\Exception\HttpException extends \Symfony\Component\HttpKernel\Exception\RuntimeException implements \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
    • class \Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException

Expanded class hierarchy of UnprocessableEntityHttpException

10 files declare their use of UnprocessableEntityHttpException
CacheableUnprocessableEntityHttpException.php in core/lib/Drupal/Core/Http/Exception/CacheableUnprocessableEntityHttpException.php
CKEditor5ImageController.php in core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php
ContentEntityDenormalizer.php in core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php
EntityResource.php in core/modules/jsonapi/src/Controller/EntityResource.php
EntityResourceValidationTrait.php in core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php

... See full list

File

vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php, line 17

Namespace

Symfony\Component\HttpKernel\Exception
View source
class UnprocessableEntityHttpException extends HttpException {
    public function __construct(string $message = '', ?\Throwable $previous = null, int $code = 0, array $headers = []) {
        parent::__construct(422, $message, $previous, $headers, $code);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
HttpException::fromStatusCode public static function
HttpException::getHeaders public function Returns response headers. Overrides HttpExceptionInterface::getHeaders
HttpException::getStatusCode public function Returns the status code. Overrides HttpExceptionInterface::getStatusCode
HttpException::setHeaders public function
UnprocessableEntityHttpException::__construct public function Overrides HttpException::__construct 1

API Navigation

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