summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-error.h
blob: 74cff1951b4afb5620d58f70d0de71713225f193 (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 noexcept override;

		private:
			std::string msg;
	};
}

#endif