libdballe
7.6
|
Report an PostgreSQL error. More...
#include <internals.h>
Public Member Functions | |
error_postgresql (PGconn *db, const std::string &msg) | |
Copy informations from the ODBC diagnostic record to the dba error report. | |
error_postgresql (PGresult *db, const std::string &msg) | |
error_postgresql (const std::string &dbmsg, const std::string &msg) | |
wreport::ErrorCode | code () const throw () |
virtual const char * | what () const throw () |
Static Public Member Functions | |
static void | throwf (PGconn *db, const char *fmt,...) WREPORT_THROWF_ATTRS(2 |
static void static void | throwf (PGresult *db, const char *fmt,...) WREPORT_THROWF_ATTRS(2 |
Data Fields | |
std::string | msg |
Report an PostgreSQL error.