tntdb::postgresql::PgSqlError Class Reference

#include <tntdb/postgresql/error.h>

Inheritance diagram for tntdb::postgresql::PgSqlError:
tntdb::SqlError tntdb::postgresql::PgError tntdb::Error

Public Member Functions

 PgSqlError (const std::string &sql, PGconn *conn)
 PgSqlError (const std::string &sql, const char *function, PGconn *conn)
 PgSqlError (const std::string &sql, PGresult *result, bool free)
 PgSqlError (const std::string &sql, const char *function, PGresult *result, bool free)
- Public Member Functions inherited from tntdb::SqlError
 SqlError (const std::string &sql_, const std::string &msg="sql error")
 ~SqlError () throw ()
const std::string & getSql () const
- Public Member Functions inherited from tntdb::Error
 Error (const std::string &msg)
 Constructor.

Additional Inherited Members

- Protected Member Functions inherited from tntdb::postgresql::PgError
 PgError ()

Constructor & Destructor Documentation

tntdb::postgresql::PgSqlError::PgSqlError ( const std::string &  sql,
PGconn *  conn 
)
tntdb::postgresql::PgSqlError::PgSqlError ( const std::string &  sql,
const char *  function,
PGconn *  conn 
)
tntdb::postgresql::PgSqlError::PgSqlError ( const std::string &  sql,
PGresult *  result,
bool  free 
)
tntdb::postgresql::PgSqlError::PgSqlError ( const std::string &  sql,
const char *  function,
PGresult *  result,
bool  free 
)

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