public function errorCommand(\TYPO3\CMS\Extbase\Mvc\Exception\CommandException $exception)
    {
        $this->outputLine('<error>%s</error>', [$exception->getMessage()]);
        if ($exception instanceof \TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException) {
            $this->outputLine('Please specify the complete command identifier. Matched commands:');
            foreach ($exception->getMatchingCommands() as $matchingCommand) {
                $this->outputLine('    %s', [$matchingCommand->getCommandIdentifier()]);
            }
        }
        $this->outputLine();
        $this->outputLine('See <info>list</info> for an overview of all available commands');
        $this->outputLine('or <info>help</info> <command> for a detailed description of the corresponding command.');
        $this->quit(1);
    }
public function errorCommand(\TYPO3\CMS\Extbase\Mvc\Exception\CommandException $exception)
    {
        $this->outputLine('<error>%s</error>', [$exception->getMessage()]);
        if ($exception instanceof \TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException) {
            $this->outputLine('Please specify the complete command identifier. Matched commands:');
            foreach ($exception->getMatchingCommands() as $matchingCommand) {
                $this->outputLine('    %s', [$matchingCommand->getCommandIdentifier()]);
            }
        }
        $this->outputLine();
        $this->outputLine('See <info>list</info> for an overview of all available commands');
        $this->outputLine('or <info>help</info> <command> for a detailed description of the corresponding command.');
        $this->quit(1);
    }
public function errorCommand ( \ TYPO3 \ CMS \ Extbase \ Mvc \ Exception \ CommandException $ exception ) { $ this -> outputLine ( '<error>%s</error>' , [ $ exception -> getMessage ( ) ] ) ; if ( $ exception instanceof \ TYPO3 \ CMS \ Extbase \ Mvc \ Exception \ AmbiguousCommandIdentifierException ) { $ this -> outputLine ( 'Please specify the complete command identifier. Matched commands:' ) ; foreach ( $ exception -> getMatchingCommands ( ) as $ matchingCommand ) { $ this -> outputLine ( '    %s' , [ $ matchingCommand -> getCommandIdentifier ( ) ] ) ; } } $ this -> outputLine ( ) ; $ this -> outputLine ( 'See <info>list</info> for an overview of all available commands' ) ; $ this -> outputLine ( 'or <info>help</info> <command> for a detailed description of the corresponding command.' ) ; $ this -> quit ( 1 ) ; }
Displays an error message

@internal
@param \TYPO3\CMS\Extbase\Mvc\Exception\CommandException $exception
@return void
Displays an error message