|
| sql_error (const std::string &msg="", const std::string &Q="", const char sqlstate[]=NULL) |
|
virtual | ~sql_error () PQXX_NOEXCEPT |
|
PQXX_PURE const std::string & | query () const PQXX_NOEXCEPT |
| The query whose execution triggered the exception. More...
|
|
PQXX_PURE const std::string & | sqlstate () const PQXX_NOEXCEPT |
|
| failure (const std::string &) |
|
virtual | ~pqxx_exception () PQXX_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.