error = $error; $this->errno = $errno; $this->sql = $sql; $this->fname = $fname; } }