libdballe  6.8
Public Member Functions | Static Public Member Functions | Data Fields
dballe::db::error_odbc Struct Reference

Report an ODBC error, using informations from the ODBC diagnostic record. More...

#include <internals.h>

Inheritance diagram for dballe::db::error_odbc:

Public Member Functions

 error_odbc (SQLSMALLINT handleType, SQLHANDLE handle, const std::string &msg)
 Copy informations from the ODBC diagnostic record to the dba error report.
 
wreport::ErrorCode code () const throw ()
 
virtual const char * what () const throw ()
 

Static Public Member Functions

static void throwf (SQLSMALLINT handleType, SQLHANDLE handle, const char *fmt,...) WREPORT_THROWF_ATTRS(3
 

Data Fields

std::string msg
 

Detailed Description

Report an ODBC error, using informations from the ODBC diagnostic record.


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