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

Breadcrumb

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

class RunCommandFailedException

@author Kevin Bond <kevinbond@gmail.com>

Hierarchy

  • class \Symfony\Component\Console\Exception\RuntimeException extends \Symfony\Component\Console\Exception\RuntimeException implements \Symfony\Component\Console\Exception\ExceptionInterface
    • class \Symfony\Component\Console\Exception\RuntimeException extends \Symfony\Component\Console\Exception\RuntimeException implements \Symfony\Component\Console\Exception\ExceptionInterface
      • class \Symfony\Component\Console\Exception\RunCommandFailedException extends \Symfony\Component\Console\Exception\RuntimeException

Expanded class hierarchy of RunCommandFailedException

2 files declare their use of RunCommandFailedException
RunCommandMessage.php in vendor/symfony/console/Messenger/RunCommandMessage.php
RunCommandMessageHandler.php in vendor/symfony/console/Messenger/RunCommandMessageHandler.php

File

vendor/symfony/console/Exception/RunCommandFailedException.php, line 19

Namespace

Symfony\Component\Console\Exception
View source
final class RunCommandFailedException extends RuntimeException {
    public function __construct(\Throwable|string $exception, RunCommandContext $context) {
        parent::__construct($exception instanceof \Throwable ? $exception->getMessage() : $exception, $exception instanceof \Throwable ? $exception->getCode() : 0, $exception instanceof \Throwable ? $exception : null);
    }

}

Members

Title Sort descending Modifiers Object type Summary
RunCommandFailedException::__construct public function

API Navigation

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