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