userver: storages::postgres::DataException Class Reference
Loading...
Searching...
No Matches
storages::postgres::DataException Class Reference

#include <userver/storages/postgres/exceptions.hpp>

Detailed Description

Base class for data exceptions Doc: https://www.postgresql.org/docs/12/static/errcodes-appendix.html.

Definition at line 331 of file exceptions.hpp.

+ Inheritance diagram for storages::postgres::DataException:

Public Member Functions

const MessageGetServerMessage () const
 
Message::Severity GetSeverity () const
 
SqlState GetSqlState () const
 

Member Function Documentation

◆ GetServerMessage()

template<typename Base >
const Message & storages::postgres::ServerError< Base >::GetServerMessage ( ) const
inlineinherited

Definition at line 196 of file exceptions.hpp.

◆ GetSeverity()

template<typename Base >
Message::Severity storages::postgres::ServerError< Base >::GetSeverity ( ) const
inlineinherited

Definition at line 198 of file exceptions.hpp.

◆ GetSqlState()

template<typename Base >
SqlState storages::postgres::ServerError< Base >::GetSqlState ( ) const
inlineinherited

Definition at line 199 of file exceptions.hpp.


The documentation for this class was generated from the following file: