public function errno() { if ($this->_mysqli->connect_errno) { return $this->_mysqli->connect_errno; } return $this->_mysqli->errno; }