|
libpqxx
The C++ client library for PostgreSQL
|
Classes | |
| class | pqxx::errorhandler |
| class | pqxx::quiet_errorhandler |
| class pqxx::errorhandler |
This method of handling errors is obsolete. Use a "notice handler" instead.
Inheritance diagram for pqxx::errorhandler:Public Member Functions | |
| errorhandler (connection &) | |
| virtual bool | operator() (char const msg[]) noexcept=0 |
| errorhandler (errorhandler const &)=delete | |
| errorhandler & | operator= (errorhandler const &)=delete |
Friends | |
| class | internal::gate::errorhandler_connection |
|
explicit |
Implementation of pqxx::errorhandler and helpers.
pqxx::errorhandler allows programs to receive errors and warnings.
Copyright (c) 2000-2025, Jeroen T. Vermeulen.
See COPYING for copyright license. If you did not receive a file called COPYING with this source code, please notify the distributor of this mistake, or contact the author.
|
pure virtualnoexcept |
Define in subclass: receive an error or warning message from the database.
Implemented in pqxx::quiet_errorhandler.
| class pqxx::quiet_errorhandler |
Inheritance diagram for pqxx::quiet_errorhandler:Public Member Functions | |
| quiet_errorhandler (connection &cx) | |
| Suppress error notices. | |
| virtual bool | operator() (char const []) noexcept override |
| End a code block started by "ignore-deprecated-pre.hxx". More... | |
Public Member Functions inherited from pqxx::errorhandler | |
| errorhandler (connection &) | |
| errorhandler (errorhandler const &)=delete | |
| errorhandler & | operator= (errorhandler const &)=delete |
|
inlineoverridevirtualnoexcept |
End a code block started by "ignore-deprecated-pre.hxx".
Revert to previous handling of error notices.
Implements pqxx::errorhandler.