libpqxx
4.0.1
|
#include <except.hxx>
Public Member Functions | |
syntax_error (const std::string &err, int pos=-1) | |
syntax_error (const std::string &err, const std::string &Q, int pos=-1) | |
![]() | |
sql_error () | |
sql_error (const std::string &) | |
sql_error (const std::string &, const std::string &Q) | |
virtual | ~sql_error () throw () |
const std::string &PQXX_PURE | query () const throw () |
The query whose execution triggered the exception. More... | |
![]() | |
failure (const std::string &) | |
![]() | |
virtual | ~pqxx_exception ()=0 throw () |
Support run-time polymorphism, and keep this class abstract. More... | |
Public Attributes | |
const int | error_position |
Approximate position in string where error occurred, or -1 if unknown. More... | |
|
explicit |
pqxx::syntax_error::syntax_error | ( | const std::string & | err, |
const std::string & | Q, | ||
int | pos = -1 |
||
) |
const int pqxx::syntax_error::error_position |
Approximate position in string where error occurred, or -1 if unknown.