PHP 8.3.31
Preview: RunCommandFailedException.php Size: 849 B
/home/getspomw/royalsquad.us/vendor/symfony/console/Exception/RunCommandFailedException.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Console\Exception;

use Symfony\Component\Console\Messenger\RunCommandContext;

/**
 * @author Kevin Bond <kevinbond@gmail.com>
 */
final class RunCommandFailedException extends RuntimeException
{
    public function __construct(\Throwable|string $exception, public readonly RunCommandContext $context)
    {
        parent::__construct(
            $exception instanceof \Throwable ? $exception->getMessage() : $exception,
            $exception instanceof \Throwable ? $exception->getCode() : 0,
            $exception instanceof \Throwable ? $exception : null,
        );
    }
}

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
1.16 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
17.14 KB lrw-r--r-- 2026-04-27 08:46:54
Edit Download
425 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
446 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
517 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
426 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
494 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
474 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
849 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
430 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).