original_string: protected function writeError(OutputInterface $output, \Exception $error)
      {
          if (null !== $this->getHelperSet() && $this->getHelperSet()->has('formatter')) {
              $message = $this->getHelperSet()->get('formatter')->formatBlock($error->getMessage(), 'error');
          } else {
              $message = '<error>'.$error->getMessage().'</error>';
          }
  
          $output->writeln($message);
      }
code: protected function writeError(OutputInterface $output, \Exception $error)
      {
          if (null !== $this->getHelperSet() && $this->getHelperSet()->has('formatter')) {
              $message = $this->getHelperSet()->get('formatter')->formatBlock($error->getMessage(), 'error');
          } else {
              $message = '<error>'.$error->getMessage().'</error>';
          }
  
          $output->writeln($message);
      }
code_tokens: protected function writeError ( OutputInterface $ output , \ Exception $ error ) { if ( null !== $ this -> getHelperSet ( ) && $ this -> getHelperSet ( ) -> has ( 'formatter' ) ) { $ message = $ this -> getHelperSet ( ) -> get ( 'formatter' ) -> formatBlock ( $ error -> getMessage ( ) , 'error' ) ; } else { $ message = '<error>' . $ error -> getMessage ( ) . '</error>' ; } $ output -> writeln ( $ message ) ; }
docstring: Outputs an error message.
docstring_tokens: Outputs an error message .