From da82e9c8f09f3e471044f8b52ede478ac4d5bc04 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 02:42:43 +0000 Subject: Reshuffle and add new exceptions --- libpqpp/pq-connection.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libpqpp/pq-connection.h') diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h index 618c875..b7687cb 100644 --- a/libpqpp/pq-connection.h +++ b/libpqpp/pq-connection.h @@ -4,8 +4,14 @@ #include #include #include +#include "pq-error.h" namespace PQ { + class ConnectionError : public virtual Error, public virtual DB::ConnectionError { + public: + ConnectionError(const PGconn *); + }; + class DLL_PUBLIC Connection : public DB::Connection { public: Connection(const std::string & info); -- cgit v1.2.3