constant 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. The event listener method receives a Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent instance.

@api

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/KernelEvents.php, line 50

Class

KernelEvents
Contains all events thrown in the HttpKernel component

Namespace

Symfony\Component\HttpKernel

Code

const EXCEPTION = 'kernel.exception';