libpqxx
pqxx::check_violation Class Reference

#include <except.hxx>

Inheritance diagram for pqxx::check_violation:

Public Member Functions

 check_violation (const std::string &err, const std::string &Q="", const char sqlstate[]=nullptr)
 
- Public Member Functions inherited from pqxx::integrity_constraint_violation
 integrity_constraint_violation (const std::string &err, const std::string &Q="", const char sqlstate[]=nullptr)
 
- Public Member Functions inherited from pqxx::sql_error
 sql_error (const std::string &msg="", const std::string &Q="", const char sqlstate[]=nullptr)
 
virtual ~sql_error () noexcept
 
PQXX_PURE const std::string & query () const noexcept
 The query whose execution triggered the exception. More...
 
PQXX_PURE const std::string & sqlstate () const noexcept
 
- Public Member Functions inherited from pqxx::failure
 failure (const std::string &)
 
- Public Member Functions inherited from pqxx::pqxx_exception
virtual ~pqxx_exception () noexcept=0
 Support run-time polymorphism, and keep this class abstract. More...
 

Constructor & Destructor Documentation

◆ check_violation()

pqxx::check_violation::check_violation ( const std::string &  err,
const std::string &  Q = "",
const char  sqlstate[] = nullptr 
)
explicit

The documentation for this class was generated from the following file: