#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 202 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 204 of file exceptions.hpp.
|
inline |
Definition at line 209 of file exceptions.hpp.
|
inline |
Definition at line 211 of file exceptions.hpp.
|
inline |
Definition at line 212 of file exceptions.hpp.