blob: b19f2c096a27e6f0cabc6113e20c747c76f62f95 (
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 <error.h>
#include <exception.h>
#include <sql.h>
#include <stdlib.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
|