libpqxx 7.8.1
|
Exception raised in PL/pgSQL procedure. More...
#include <except.hxx>
Public Member Functions | |
plpgsql_raise (std::string const &err, std::string const &Q="", char const sqlstate[]=nullptr) | |
![]() | |
plpgsql_error (std::string const &err, std::string const &Q="", char const sqlstate[]=nullptr) | |
![]() | |
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. | |
PQXX_PURE std::string const & | sqlstate () const noexcept |
SQLSTATE error code if known, or empty string otherwise. | |
![]() | |
failure (std::string const &) | |
Exception raised in PL/pgSQL procedure.
|
explicit |