summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-error.h
blob: 9735966debbbeac5851af6e107b261d0445eee3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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:
		explicit Error(sqlite3 *);

		std::string message() const noexcept override;

	private:
		std::string msg;
	};
}

#endif