Пример #1
0
 private function err($e, $dop_string = '')
 {
     global $err;
     if ($this->on_error_rollback) {
         $this->rollBack();
     }
     if (is_object($this->conn[$this->connect_pool_nr])) {
         $this->error = $this->conn[$this->connect_pool_nr]->errorCode();
     } else {
         $this->error = 4;
     }
     // PDO Objekt existiert nicht
     $err = new ERR();
     $err->err_log($e->getMessage() . "   " . $dop_string, $this->show_errors, $this->stop_after_error, true);
 }