public function errorCommand(CommandException $exception)
    {
        $this->outputLine('<error>%s</error>', [$exception->getMessage()]);
        if ($exception instanceof AmbiguousCommandIdentifierException) {
            $this->outputLine('Please specify the complete command identifier. Matched commands:');
            $this->displayShortHelpForCommands($exception->getMatchingCommands());
        }
        $this->outputLine();
        $this->outputLine('Enter "%s help" for an overview of all available commands', [$this->getFlowInvocationString()]);
        $this->outputLine('or "%s help <commandIdentifier>" for a detailed description of the corresponding command.', [$this->getFlowInvocationString()]);
        $this->quit(1);
    }
public function errorCommand(CommandException $exception)
    {
        $this->outputLine('<error>%s</error>', [$exception->getMessage()]);
        if ($exception instanceof AmbiguousCommandIdentifierException) {
            $this->outputLine('Please specify the complete command identifier. Matched commands:');
            $this->displayShortHelpForCommands($exception->getMatchingCommands());
        }
        $this->outputLine();
        $this->outputLine('Enter "%s help" for an overview of all available commands', [$this->getFlowInvocationString()]);
        $this->outputLine('or "%s help <commandIdentifier>" for a detailed description of the corresponding command.', [$this->getFlowInvocationString()]);
        $this->quit(1);
    }
public function errorCommand ( CommandException $ exception ) { $ this -> outputLine ( '<error>%s</error>' , [ $ exception -> getMessage ( ) ] ) ; if ( $ exception instanceof AmbiguousCommandIdentifierException ) { $ this -> outputLine ( 'Please specify the complete command identifier. Matched commands:' ) ; $ this -> displayShortHelpForCommands ( $ exception -> getMatchingCommands ( ) ) ; } $ this -> outputLine ( ) ; $ this -> outputLine ( 'Enter "%s help" for an overview of all available commands' , [ $ this -> getFlowInvocationString ( ) ] ) ; $ this -> outputLine ( 'or "%s help <commandIdentifier>" for a detailed description of the corresponding command.' , [ $ this -> getFlowInvocationString ( ) ] ) ; $ this -> quit ( 1 ) ; }
Displays an error message

@Flow\Internal
@param CommandException $exception
@return void
@throws StopActionException
Displays an error message