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

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

Detailed Description

Base class for integrity constraint violation errors. Doc: https://www.postgresql.org/docs/12/static/errcodes-appendix.html.

Definition at line 342 of file exceptions.hpp.

+ Inheritance diagram for storages::postgres::IntegrityConstraintViolation:

Public Member Functions

std::string GetSchema () const
 
std::string GetTable () const
 
std::string GetConstraint () const
 
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 197 of file exceptions.hpp.

◆ GetSeverity()

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

Definition at line 199 of file exceptions.hpp.

◆ GetSqlState()

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

Definition at line 200 of file exceptions.hpp.


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