13 #ifndef PQXX_H_ERRORHANDLER 14 #define PQXX_H_ERRORHANDLER 16 #include "pqxx/compiler-public.hxx" 17 #include "pqxx/internal/compiler-internal-pre.hxx" 19 #include "pqxx/types.hxx" 24 class errorhandler_connection;
64 virtual bool operator()(
char const msg[]) noexcept = 0;
73 friend class internal::gate::errorhandler_connection;
74 void unregister() noexcept;
84 virtual bool operator()(
char const[]) noexcept
override {
return false; }
92 #include "pqxx/internal/compiler-internal-post.hxx" An error handler that suppresses any previously registered error handlers.
Definition: errorhandler.hxx:79
Definition: cursor.hxx:219
virtual bool operator()(char const []) noexcept override
Definition: errorhandler.hxx:84
Base class for error-handler callbacks.
Definition: errorhandler.hxx:52
quiet_errorhandler(connection &conn)
Definition: errorhandler.hxx:82
Dedicated namespace for helper types related to prepared statements.
Definition: array.hxx:25