#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 192 of file exceptions.hpp.
Public Member Functions | |
ServerError (const Message &msg) | |
const Message & | GetServerMessage () const |
Message::Severity | GetSeverity () const |
SqlState | GetSqlState () const |
|
inlineexplicit |
Definition at line 194 of file exceptions.hpp.
|
inline |
Definition at line 197 of file exceptions.hpp.
|
inline |
Definition at line 199 of file exceptions.hpp.
|
inline |
Definition at line 200 of file exceptions.hpp.