#include <except.hxx>
|
| syntax_error (const std::string &err, const std::string &Q="", const char sqlstate[]=nullptr, int pos=-1) |
|
| 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 |
|
| failure (const std::string &) |
|
virtual | ~pqxx_exception () noexcept=0 |
| Support run-time polymorphism, and keep this class abstract. More...
|
|
◆ syntax_error()
pqxx::syntax_error::syntax_error |
( |
const std::string & |
err, |
|
|
const std::string & |
Q = "" , |
|
|
const char |
sqlstate[] = nullptr , |
|
|
int |
pos = -1 |
|
) |
| |
|
explicit |
◆ error_position
const int pqxx::syntax_error::error_position |
Approximate position in string where error occurred, or -1 if unknown.
The documentation for this class was generated from the following file: