libpqxx 7.9.0
|
#include <except.hxx>
Public Member Functions | |
undefined_column (std::string const &err, std::string const &Q="", char const sqlstate[]=nullptr) | |
![]() | |
syntax_error (std::string const &err, std::string const &Q="", char const sqlstate[]=nullptr, int pos=-1) | |
![]() | |
sql_error (std::string 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. | |
PQXX_PURE std::string const & | sqlstate () const noexcept |
SQLSTATE error code if known, or empty string otherwise. | |
![]() | |
failure (std::string const &) | |
Additional Inherited Members | |
![]() | |
int const | error_position |
Approximate position in string where error occurred, or -1 if unknown. | |
|
explicit |