userver: storages::postgres::IntegrityConstraintViolation Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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:
+ 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
 

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