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
- class \Symfony\Component\Console\Exception\RuntimeException extends \Symfony\Component\Console\Exception\RuntimeException implements \Symfony\Component\Console\Exception\ExceptionInterface
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\ExceptionView 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);
}
}