original_string: protected function _displayError($error, $debug)
      {
          $message = sprintf(
              '%s in [%s, line %s]',
              $error['description'],
              $error['file'],
              $error['line']
          );
          $message = sprintf(
              "<error>%s Error:</error> %s\n",
              $error['error'],
              $message
          );
          $this->_stderr->write($message);
      }
code: protected function _displayError($error, $debug)
      {
          $message = sprintf(
              '%s in [%s, line %s]',
              $error['description'],
              $error['file'],
              $error['line']
          );
          $message = sprintf(
              "<error>%s Error:</error> %s\n",
              $error['error'],
              $message
          );
          $this->_stderr->write($message);
      }
code_tokens: protected function _displayError ( $ error , $ debug ) { $ message = sprintf ( '%s in [%s, line %s]' , $ error [ 'description' ] , $ error [ 'file' ] , $ error [ 'line' ] ) ; $ message = sprintf ( "<error>%s Error:</error> %s\n" , $ error [ 'error' ] , $ message ) ; $ this -> _stderr -> write ( $ message ) ; }
docstring: Prints an error to stderr.
  
  Template method of BaseErrorHandler.
  
  @param array $error An array of error data.
  @param bool $debug Whether or not the app is in debug mode.
  @return void
docstring_tokens: Prints an error to stderr .