libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::plpgsql_error Class Reference

PL/pgSQL error. More...

#include <except.hxx>

Inheritance diagram for pqxx::plpgsql_error:
Collaboration diagram for pqxx::plpgsql_error:

Public Member Functions

 plpgsql_error (const PGSTD::string &err)
 
 plpgsql_error (const PGSTD::string &err, const PGSTD::string &Q)
 
const PGSTD::string &PQXX_PURE query () const throw ()
 The query whose execution triggered the exception. More...
 

Detailed Description

PL/pgSQL error.

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

Constructor & Destructor Documentation

pqxx::plpgsql_error::plpgsql_error ( const PGSTD::string &  err)
inlineexplicit
pqxx::plpgsql_error::plpgsql_error ( const PGSTD::string &  err,
const PGSTD::string &  Q 
)
inline

Member Function Documentation

const PGSTD::string& PQXX_PURE pqxx::sql_error::query ( ) const throw ()
inherited

The query whose execution triggered the exception.


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