diff options
Diffstat (limited to 'libpqpp/pq-connection.h')
-rw-r--r-- | libpqpp/pq-connection.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <connection.h> #include <libpq-fe.h> #include <visibility.h> +#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); |