protected function showError(ClientException $ce, OutputInterface $output)
    {
        if ($ce->getResponse()->getStatusCode() == 422) {
            $output->writeln('<error>Repository already exists</error>');
            die();
        }
        $output->writeln('<error>Client Request exception thrown</error>');
        die();
    }
protected function showError(ClientException $ce, OutputInterface $output)
    {
        if ($ce->getResponse()->getStatusCode() == 422) {
            $output->writeln('<error>Repository already exists</error>');
            die();
        }
        $output->writeln('<error>Client Request exception thrown</error>');
        die();
    }
protected function showError ( ClientException $ ce , OutputInterface $ output ) { if ( $ ce -> getResponse ( ) -> getStatusCode ( ) == 422 ) { $ output -> writeln ( '<error>Repository already exists</error>' ) ; die ( ) ; } $ output -> writeln ( '<error>Client Request exception thrown</error>' ) ; die ( ) ; }
Show error.
@param ClientException $ce
@param OutputInterface $output
Show error .