Eloquent\Composer\NpmBridge\Exception\NpmCommandFailedException::__construct PHP Метод

__construct() публичный Метод

Construct a new NPM command failed exception.
public __construct ( string $command, Exception $cause = null )
$command string The executed command.
$cause Exception The cause, if available.
    public function __construct($command, Exception $cause = null)
    {
        $this->command = $command;
        parent::__construct(sprintf('Execution of %s failed.', var_export($command, true)), 0, $cause);
    }
NpmCommandFailedException