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

Breadcrumb

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

KernelEvents::EXCEPTION

The EXCEPTION event occurs when an uncaught exception appears.

This event allows you to create a response for a thrown exception or to modify the thrown exception.

Plugin annotation

@Event("Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent");

File

vendor/symfony/http-kernel/KernelEvents.php, line 49

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

public const EXCEPTION = 'kernel.exception';

API Navigation

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