diff options
Diffstat (limited to 'libodbcpp/odbc-error.h')
-rw-r--r-- | libodbcpp/odbc-error.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libodbcpp/odbc-error.h b/libodbcpp/odbc-error.h index addc528..b19f2c0 100644 --- a/libodbcpp/odbc-error.h +++ b/libodbcpp/odbc-error.h @@ -1,20 +1,20 @@ #ifndef ODBC_ERROR_H #define ODBC_ERROR_H +#include <error.h> +#include <exception.h> #include <sql.h> #include <stdlib.h> -#include <exception.h> -#include <error.h> namespace ODBC { class Error : public AdHoc::Exception<DB::Error> { - public: - Error(RETCODE err, SQLSMALLINT handletype, SQLHANDLE handle); + public: + Error(RETCODE err, SQLSMALLINT handletype, SQLHANDLE handle); - std::string message() const noexcept override; + std::string message() const noexcept override; - private: - std::string msg; + private: + std::string msg; }; } |