blob: addc528d34c5a72fb5d63bf7cc77caefda1f6f35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef ODBC_ERROR_H
#define ODBC_ERROR_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);
std::string message() const noexcept override;
private:
std::string msg;
};
}
#endif
|