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);
    }
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);
    }
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 ) ; }
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
Prints an error to stderr .