|
libpqxx
|
Exception class for failed queries. More...
#include <except.hxx>

Public Member Functions | |
| 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... | |
Exception class for failed queries.
Carries, in addition to a regular error message, a copy of the failed query and (if available) the SQLSTATE value accompanying the error.
|
explicit |
|
virtualnoexcept |
|
noexcept |
The query whose execution triggered the exception.
|
noexcept |