|
nanodbc
A small C++ wrapper for the native C ODBC API
|
Possible error conditions. More...
Classes | |
| class | nanodbc::type_incompatible_error |
| Type incompatible. More... | |
| class | nanodbc::null_access_error |
| Accessed null data. More... | |
| class | nanodbc::index_range_error |
| Index out of range. More... | |
| class | nanodbc::programming_error |
| Programming logic error. More... | |
| class | nanodbc::database_error |
| General database error. More... | |
Possible error conditions.
Specific errors such as type_incompatible_error, null_access_error, and index_range_error can arise from improper use of the nanodbc library. The general database_error is for all other situations in which the ODBC driver or C API reports an error condition. The explanatory string for database_error will, if possible, contain a diagnostic message obtained from SQLGetDiagRec().