#ifndef MY_ERROR_H #define MY_ERROR_H #include #include #include namespace MySQL { class Error : public AdHoc::Exception { public: explicit Error(MYSQL_STMT *); explicit Error(MYSQL *); std::string message() const noexcept override; private: std::string msg; }; } #endif