summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 02:42:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit3a7e2b9a7bde4682f2273022e9d2ddecd7e5e3b8 (patch)
treed5dc58209bd8fa28047c54a11c09bc64505d5354 /libsqlitepp/sqlite-connection.h
parentRemove rebind (diff)
downloadlibdbpp-sqlite-3a7e2b9a7bde4682f2273022e9d2ddecd7e5e3b8.tar.bz2
libdbpp-sqlite-3a7e2b9a7bde4682f2273022e9d2ddecd7e5e3b8.tar.xz
libdbpp-sqlite-3a7e2b9a7bde4682f2273022e9d2ddecd7e5e3b8.zip
Reshuffle and add new exceptions
Diffstat (limited to 'libsqlitepp/sqlite-connection.h')
-rw-r--r--libsqlitepp/sqlite-connection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsqlitepp/sqlite-connection.h b/libsqlitepp/sqlite-connection.h
index 9398ee8..e7f2956 100644
--- a/libsqlitepp/sqlite-connection.h
+++ b/libsqlitepp/sqlite-connection.h
@@ -6,6 +6,11 @@
#include <sqlite3.h>
namespace SQLite {
+ class ConnectionError : public virtual Error, public virtual DB::ConnectionError {
+ public:
+ ConnectionError(sqlite3 *);
+ };
+
class Connection : public DB::Connection {
public:
Connection(const std::string & info);