original_string: function ErrorMsg()
  	{
  		if (!function_exists('adodb_throw')) {
  			if ($this->_dbat < 0) {
  				$db = false;
  			}
  			else {
  				$db = $this->DB();
  			}
  
  			// last error could be database error too
  			if ($db && $db->ErrorMsg()) {
  				return $db->ErrorMsg();
  			}
  		}
  		return $this->_lasterr;
  	}
code: function ErrorMsg()
  	{
  		if (!function_exists('adodb_throw')) {
  			if ($this->_dbat < 0) {
  				$db = false;
  			}
  			else {
  				$db = $this->DB();
  			}
  
  			// last error could be database error too
  			if ($db && $db->ErrorMsg()) {
  				return $db->ErrorMsg();
  			}
  		}
  		return $this->_lasterr;
  	}
code_tokens: function ErrorMsg ( ) { if ( ! function_exists ( 'adodb_throw' ) ) { if ( $ this -> _dbat < 0 ) { $ db = false ; } else { $ db = $ this -> DB ( ) ; } // last error could be database error too if ( $ db && $ db -> ErrorMsg ( ) ) { return $ db -> ErrorMsg ( ) ; } } return $ this -> _lasterr ; }
docstring: return last error message
docstring_tokens: return last error message