libpqxx
pqxx::plpgsql_error Class Reference

PL/pgSQL error. More...

#include <except.hxx>

Inheritance diagram for pqxx::plpgsql_error:

Public Member Functions

 plpgsql_error (const std::string &err, const std::string &Q="", const char sqlstate[]=nullptr)
 
- Public Member Functions inherited from pqxx::sql_error
 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
 
- Public Member Functions inherited from pqxx::failure
 failure (const std::string &)
 
- Public Member Functions inherited from pqxx::pqxx_exception
virtual ~pqxx_exception () noexcept=0
 Support run-time polymorphism, and keep this class abstract. More...
 

Detailed Description

PL/pgSQL error.

Exceptions derived from this class are errors from PL/pgSQL procedures.

Constructor & Destructor Documentation

◆ plpgsql_error()

pqxx::plpgsql_error::plpgsql_error ( const std::string &  err,
const std::string &  Q = "",
const char  sqlstate[] = nullptr 
)
explicit

The documentation for this class was generated from the following file: