5 * Small error-handling wrapper around PDO
9 public function query()
11 $args = func_get_args();
12 $res = call_user_func_array(array('parent', 'query'), $args);
20 protected function handleError()
23 echo " " . $this->errorCode() . "\n";
24 echo " " . implode(' - ', $this->errorInfo()) . "\n";