libpqxx
7.7.0
|
PL/pgSQL error. More...
#include <except.hxx>
Public Member Functions | |
plpgsql_error (std::string const &err, std::string const &Q="", char const sqlstate[]=nullptr) | |
Public Member Functions inherited from pqxx::sql_error | |
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... | |
Public Member Functions inherited from pqxx::failure | |
failure (std::string const &) | |
PL/pgSQL error.
Exceptions derived from this class are errors from PL/pgSQL procedures.
|
explicit |