private function _addError($strCommand, $strMessage)
    {
        $index = count($this->_arrErrorList) + 1;
        $this->_arrErrorList[$index]['command'] = $strCommand;
        $this->_arrErrorList[$index]['message'] = $strMessage;
        $this->_errors++;
    }
private function _addError($strCommand, $strMessage)
    {
        $index = count($this->_arrErrorList) + 1;
        $this->_arrErrorList[$index]['command'] = $strCommand;
        $this->_arrErrorList[$index]['message'] = $strMessage;
        $this->_errors++;
    }
private function _addError ( $ strCommand , $ strMessage ) { $ index = count ( $ this -> _arrErrorList ) + 1 ; $ this -> _arrErrorList [ $ index ] [ 'command' ] = $ strCommand ; $ this -> _arrErrorList [ $ index ] [ 'message' ] = $ strMessage ; $ this -> _errors ++ ; }
adds an error to the internal list

@param string $strCommand Command, which cause the Error
@param string $strMessage message, that describe the Error

@return void
adds an error to the internal list