public function getLastError() {

		if(true === $this -> connection instanceof \mysqli) {
			$this -> connect();
		}

		return $this -> connection -> error;
	}
public function getLastError() {

		if(true === $this -> connection instanceof \mysqli) {
			$this -> connect();
		}

		return $this -> connection -> error;
	}
public function getLastError ( ) { if ( true === $ this -> connection instanceof \ mysqli ) { $ this -> connect ( ) ; } return $ this -> connection -> error ; }
Returns the last error message
@return string
Returns the last error message