13#ifndef PQXX_H_ERRORHANDLER
14#define PQXX_H_ERRORHANDLER
16#if !defined(PQXX_HEADER_PRE)
17# error "Include libpqxx headers as <pqxx/header>, not <pqxx/header.hxx>."
25class errorhandler_connection;
48 [[deprecated(
"Use a notice handler instead.")]]
68 void unregister() noexcept;
78 [[deprecated(
"Use notice handlers instead.")]]
85 virtual bool operator()(
char const[])
noexcept override {
return false; }
errorhandler(connection &)
Definition errorhandler.cxx:22
virtual bool operator()(char const msg[]) noexcept=0
errorhandler & operator=(errorhandler const &)=delete
errorhandler(errorhandler const &)=delete
Definition errorhandler-connection.hxx:6
virtual bool operator()(char const[]) noexcept override
End a code block started by "ignore-deprecated-pre.hxx".
Definition errorhandler.hxx:85
quiet_errorhandler(connection &cx)
Suppress error notices.
Definition errorhandler.hxx:79
Definition connection.hxx:108
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27