You are here

constant KernelEvents::EXCEPTION in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/KernelEvents.php \Symfony\Component\HttpKernel\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.

Related topics

File

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

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

const EXCEPTION = 'kernel.exception';