#include </data/code/userver/odbc/include/userver/storages/odbc/exception.hpp>
Thrown when the operation is aborted because an engine::Deadline has expired (including task-inherited request deadlines).
Definition at line 66 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. | |