#include </data/code/userver/odbc/include/userver/storages/odbc/exception.hpp>
Thrown when an ODBC pool cannot provide a connection for a non-timeout reason.
Definition at line 60 of file exception.hpp.
Public Member Functions | |
| const std::vector< DiagnosticRecord > & | GetDiagnostics () const noexcept |
| Structured driver diagnostics, in the order returned by ODBC. | |
| bool | HasSqlStateClass (std::string_view sql_state_class) const noexcept |
| Whether any diagnostic has the specified two-character SQLSTATE class. | |
| bool | IsInvalidHandle () const noexcept |
| Whether the failed ODBC call returned SQL_INVALID_HANDLE. | |