#include <userver/storages/postgres/exceptions.hpp>
Error that was reported by PosgtreSQL server Contains the message sent by the server. Templated class because the errors can be both runtime and logic.
Definition at line 59 of file exceptions.hpp.
Inheritance diagram for storages::postgres::ServerError< Base >:Public Member Functions | |
| ServerError (const Message &msg) | |
| const Message & | GetServerMessage () const |
| Message::Severity | GetSeverity () const |
| SqlState | GetSqlState () const |
|
inlineexplicit |
Definition at line 61 of file exceptions.hpp.
|
inline |
Definition at line 66 of file exceptions.hpp.
|
inline |
Definition at line 68 of file exceptions.hpp.
|
inline |
Definition at line 69 of file exceptions.hpp.