19 #ifndef PQXX_H_ERRORHANDLER
20 #define PQXX_H_ERRORHANDLER
22 #include "pqxx/compiler-public.hxx"
23 #include "pqxx/compiler-internal-pre.hxx"
30 class connection_base;
36 class errorhandler_connection_base;
58 public PGSTD::unary_function<const char[], bool>
69 virtual bool operator()(
const char msg[])
throw () =0;
74 friend class internal::gate::errorhandler_connection_base;
75 void unregister() throw ();
80 errorhandler &operator=(const errorhandler &);
90 virtual bool operator()(
const char[]) throw () {
return false; }
99 #include "pqxx/compiler-internal-post.hxx"