public function error() { if ($this->_mysqli->connect_error) { return $this->_mysqli->connect_error; } return $this->_mysqli->error; }