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

Breadcrumb

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

function Application::setCatchErrors

Sets whether to catch errors or not during commands execution.

1 call to Application::setCatchErrors()
Application::__construct in vendor/composer/composer/src/Composer/Console/Application.php

File

vendor/symfony/console/Application.php, line 442

Class

Application
An Application is the container for a collection of commands.

Namespace

Symfony\Component\Console

Code

public function setCatchErrors(bool $catchErrors = true) : void {
    $this->catchErrors = $catchErrors;
}

API Navigation

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