Definition at line 96 of file SQLDBC.h.
SQLDBC::SQLDBC_ErrorHndl::SQLDBC_ErrorHndl | ( | ) |
The constructor for an SQLDBC_ErrorHndl object.
After construction the ErrorHndl object does not contain errors.
const SQLDBC_Int4 SQLDBC::SQLDBC_ErrorHndl::getErrorCode | ( | ) | const |
Returns the error code from the ErrorHndl object.
const char* SQLDBC::SQLDBC_ErrorHndl::getSQLState | ( | ) | const |
Returns the SQL state from the ErrorHndl object.
const char* SQLDBC::SQLDBC_ErrorHndl::getErrorText | ( | ) | const |
Returns the error message stored in the ErrorHndl object.
SQLDBC::SQLDBC_ErrorHndl::operator SQLDBC_Bool | ( | ) | const |
A Conversion operator.
Returns true if the ErrorHndl object contains an error. This operator makes it possible to write constructs as follows: if \(error\) { ... }
.