#ifndef PQ_ERROR_H #define PQ_ERROR_H #include #include #include namespace PQ { class Error : public AdHoc::Exception { public: Error(const PGconn *); std::string message() const throw() override; private: std::string msg; }; } #endif