You are here

constant ConsoleEvents::EXCEPTION in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/ConsoleEvents.php \Symfony\Component\Console\ConsoleEvents::EXCEPTION

The EXCEPTION event occurs when an uncaught exception appears.

This event allows you to deal with the exception or to modify the thrown exception. The event listener method receives a Symfony\Component\Console\Event\ConsoleExceptionEvent instance.

Related topics

File

vendor/symfony/console/ConsoleEvents.php, line 60

Class

ConsoleEvents
Contains all events dispatched by an Application.

Namespace

Symfony\Component\Console

Code

const EXCEPTION = 'console.exception';