libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
connection-errorhandler.hxx
1
#include <pqxx/internal/callgate.hxx>
2
3
namespace
pqxx
4
{
5
class
connection;
6
class
errorhandler;
7
}
// namespace pqxx
8
9
namespace
pqxx::internal::gate
10
{
11
class
PQXX_PRIVATE
connection_errorhandler
:
callgate
<connection>
12
{
13
friend
class
pqxx::errorhandler
;
14
15
connection_errorhandler
(
reference
x) :
super
(x) {}
16
17
void
register_errorhandler(
errorhandler
*h)
18
{
19
home().register_errorhandler(h);
20
}
21
void
unregister_errorhandler(
errorhandler
*h)
22
{
23
home().unregister_errorhandler(h);
24
}
25
};
26
}
// namespace pqxx::internal::gate
pqxx::errorhandler
Definition
errorhandler.hxx:46
pqxx::internal::callgate
Base class for call gates.
Definition
callgate.hxx:55
pqxx::internal::callgate< connection >::reference
connection & reference
Definition
callgate.hxx:60
pqxx::internal::gate::connection_errorhandler
Definition
connection-errorhandler.hxx:12
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition
array.cxx:27
include
pqxx
internal
gates
connection-errorhandler.hxx
Generated by
1.12.0