#include <except.hxx>
|
| syntax_error (std::string const &err, std::string const &Q="", char const sqlstate[]=nullptr, int pos=-1) |
|
| sql_error (std::string const &whatarg="", std::string const &Q="", char const sqlstate[]=nullptr) |
|
virtual | ~sql_error () noexcept override |
|
PQXX_PURE std::string const & | query () const noexcept |
| The query whose execution triggered the exception. More...
|
|
PQXX_PURE std::string const & | sqlstate () const noexcept |
| SQLSTATE error code if known, or empty string otherwise. More...
|
|
| failure (std::string const &) |
|
◆ syntax_error()
pqxx::syntax_error::syntax_error |
( |
std::string const & |
err, |
|
|
std::string const & |
Q = "" , |
|
|
char const |
sqlstate[] = nullptr , |
|
|
int |
pos = -1 |
|
) |
| |
|
explicit |
◆ error_position
int const pqxx::syntax_error::error_position |
Approximate position in string where error occurred, or -1 if unknown.
The documentation for this struct was generated from the following file: