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:
+ 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: