userver: storages::odbc::RuntimeError Class Reference
Loading...
Searching...
No Matches
storages::odbc::RuntimeError Class Reference

Detailed Description

Definition at line 31 of file exception.hpp.

Inheritance diagram for storages::odbc::RuntimeError:

Public Member Functions

 RuntimeError (std::string message, std::vector< DiagnosticRecord > diagnostics, bool invalid_handle=false)
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.

The documentation for this class was generated from the following file:
  • /data/code/userver/odbc/include/userver/storages/odbc/exception.hpp