Library: ODBC
Package: ODBC
Header: Poco/Data/ODBC/Error.h
Class encapsulating ODBC diagnostic record collection. Collection is generated during construction. Class provides access and string generation for the collection as well as individual diagnostic records.
Member Functions: count, diagnostics, toString
explicit Error(
const H & handle
);
Creates the Error.
~Error();
Destroys the Error.
int count() const;
Returns the count of diagnostic records.
const Diagnostics < H, handleType > & diagnostics() const;
Returns the associated diagnostics.
std::string & toString(
int index,
std::string & str
) const;
Generates the string for the diagnostic record.
std::string toString() const;
Generates the string for the diagnostic record collection.