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

#include <error.h>

namespace SQLite {
	class Error : public DB::Error {
		public:
			Error();
			Error(const Error &);
			Error(const char *);
			~Error() throw();

			const char * what() const throw();

		private:
			char * msg;
	};
	class ConnectionError : public Error, public virtual DB::ConnectionError {
	};
}

#endif