Loading...
Searching...
No Matches
connection-errorhandler.hxx
#include <pqxx/internal/callgate.hxx>
namespace pqxx
{
class connection;
class errorhandler;
} // namespace pqxx
namespace pqxx::internal::gate
{
class PQXX_PRIVATE connection_errorhandler : callgate<connection>
{
friend class pqxx::errorhandler;
connection_errorhandler(reference x) : super(x) {}
void register_errorhandler(errorhandler *h)
{
home().register_errorhandler(h);
}
void unregister_errorhandler(errorhandler *h)
{
home().unregister_errorhandler(h);
}
};
} // namespace pqxx::internal::gate
pqxx::errorhandler
Definition errorhandler.hxx:46
pqxx::internal::callgate< connection >::home
reference home() const noexcept
Definition callgate.hxx:65
pqxx::internal::callgate< connection >::reference
connection & reference
Definition callgate.hxx:60
pqxx::internal::callgate< connection >::super
callgate< connection > super
Definition callgate.hxx:58
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27