#include <except.hxx>

Public Member Functions | |
| sql_error () | |
| sql_error (const std::string &) | |
| sql_error (const std::string &, const std::string &Q) | |
| virtual | ~sql_error () throw () |
| const std::string & | query () const throw () |
| The query whose execution triggered the exception. | |
Carries a copy of the failed query in addition to a regular error message
| pqxx::sql_error::sql_error | ( | ) |
| pqxx::sql_error::sql_error | ( | const std::string & | whatarg | ) | [explicit] |
| pqxx::sql_error::sql_error | ( | const std::string & | whatarg, | |
| const std::string & | Q | |||
| ) |
| pqxx::sql_error::~sql_error | ( | ) | throw () [virtual] |
| const string & pqxx::sql_error::query | ( | ) | const throw () |
The query whose execution triggered the exception.
1.5.5