#ifndef ODBC_ERROR_H #define ODBC_ERROR_H #include #include #include #include namespace ODBC { class Error : public AdHoc::Exception { public: Error(RETCODE err, SQLSMALLINT handletype, SQLHANDLE handle); std::string message() const noexcept override; private: std::string msg; }; } #endif