original_string: public function onTranscodeFailure(TranscodeEvent $e)
      {
          $inpath = $e->getInputPath();
          $errorMsg = $e->getException()->getMessage();
  
          $formatter = $this->getFormatter();
          $msg = sprintf(
              "Transcode of %s failed!  Message: %s",
              $formatter->formatBlock($inpath, 'info'),
              $formatter->formatBlock($errorMsg, 'error')
          );
  
          $this->getOutput()->writeln($msg);
      }
code: public function onTranscodeFailure(TranscodeEvent $e)
      {
          $inpath = $e->getInputPath();
          $errorMsg = $e->getException()->getMessage();
  
          $formatter = $this->getFormatter();
          $msg = sprintf(
              "Transcode of %s failed!  Message: %s",
              $formatter->formatBlock($inpath, 'info'),
              $formatter->formatBlock($errorMsg, 'error')
          );
  
          $this->getOutput()->writeln($msg);
      }
code_tokens: public function onTranscodeFailure ( TranscodeEvent $ e ) { $ inpath = $ e -> getInputPath ( ) ; $ errorMsg = $ e -> getException ( ) -> getMessage ( ) ; $ formatter = $ this -> getFormatter ( ) ; $ msg = sprintf ( "Transcode of %s failed!  Message: %s" , $ formatter -> formatBlock ( $ inpath , 'info' ) , $ formatter -> formatBlock ( $ errorMsg , 'error' ) ) ; $ this -> getOutput ( ) -> writeln ( $ msg ) ; }
docstring: Write to output that a process has failed.
docstring_tokens: Write to output that a process has failed .