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

Breadcrumb

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

ConsoleEvents::ERROR

The ERROR event occurs when an uncaught exception or error appears.

This event allows you to deal with the exception/error or to modify the thrown exception.

Plugin annotation

@Event("Symfony\\Component\\Console\\Event\\ConsoleErrorEvent");

File

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

Class

ConsoleEvents
Contains all events dispatched by an Application.

Namespace

Symfony\Component\Console

Code

public const ERROR = 'console.error';

API Navigation

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