summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-error.h
blob: a42d2e4d3aba2d29d3da5c740a822de4c549b171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SQLITE_ERROR_H
#define SQLITE_ERROR_H

#include <error.h>
#include <exception.h>
#include <sqlite3.h>
#include <visibility.h>

namespace SQLite {
	class Error : public AdHoc::Exception<DB::Error> {
		public:
			Error(sqlite3 *);

			std::string message() const throw() override;

		private:
			std::string msg;
	};
}

#endif