userver: storages::postgres::IntegrityConstraintViolation Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::postgres::IntegrityConstraintViolation Class Reference

Your opinion will help to improve our service

Leave a feedback >

#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 349 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
 
const MessageGetServerMessage () const
 
Message::Severity GetSeverity () const
 
Message::Severity GetSeverity () const
 
SqlState GetSqlState () const
 
SqlState GetSqlState () const
 

Member Function Documentation

◆ GetServerMessage() [1/2]

const Message & storages::postgres::ServerError< RuntimeError >::GetServerMessage ( ) const
inlineinherited

Definition at line 204 of file exceptions.hpp.

◆ GetServerMessage() [2/2]

const Message & storages::postgres::ServerError< RuntimeError >::GetServerMessage ( ) const
inlineinherited

Definition at line 204 of file exceptions.hpp.

◆ GetSeverity() [1/2]

Message::Severity storages::postgres::ServerError< RuntimeError >::GetSeverity ( ) const
inlineinherited

Definition at line 206 of file exceptions.hpp.

◆ GetSeverity() [2/2]

Message::Severity storages::postgres::ServerError< RuntimeError >::GetSeverity ( ) const
inlineinherited

Definition at line 206 of file exceptions.hpp.

◆ GetSqlState() [1/2]

SqlState storages::postgres::ServerError< RuntimeError >::GetSqlState ( ) const
inlineinherited

Definition at line 207 of file exceptions.hpp.

◆ GetSqlState() [2/2]

SqlState storages::postgres::ServerError< RuntimeError >::GetSqlState ( ) const
inlineinherited

Definition at line 207 of file exceptions.hpp.


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