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

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

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

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

Public Member Functions

std::string GetSchema () const
 
std::string GetTable () const
 
std::string GetConstraint () const
 
- Public Member Functions inherited from storages::postgres::ServerError< Base >
 ServerError (const Message &msg)
 
const MessageGetServerMessage () const
 
Message::Severity GetSeverity () const
 
SqlState GetSqlState () const
 

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.

Member Function Documentation

◆ GetConstraint()

std::string storages::postgres::IntegrityConstraintViolation::GetConstraint ( ) const
inline

Definition at line 355 of file exceptions.hpp.

◆ GetSchema()

std::string storages::postgres::IntegrityConstraintViolation::GetSchema ( ) const
inline

Definition at line 353 of file exceptions.hpp.

◆ GetTable()

std::string storages::postgres::IntegrityConstraintViolation::GetTable ( ) const
inline

Definition at line 354 of file exceptions.hpp.


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