Definition at line 19 of file message.hpp.
Public Types | |
| enum class | Severity { kLog , kDebug , kInfo , kNotice , kWarning , kError , kFatal , kPanic } |
Public Member Functions | |
| Message (detail::ResultWrapperPtr) | |
| std::string | GetMessage () const |
| std::string | GetPrimary () const |
| std::string | GetDetail () const |
| Severity | GetSeverity () const |
| std::string | GetSeverityString () const |
| SqlState | GetSqlState () const |
| std::string | GetSchema () const |
| std::string | GetTable () const |
| std::string | GetColumn () const |
| std::string | GetDatatype () const |
| std::string | GetConstraint () const |
| logging::LogExtra | GetLogExtra () const |
| void | ThrowException () const |
| Throw an exception according to the SQL code. | |
Static Public Member Functions | |
| static Severity | SeverityFromString (std::string_view) |
Static Public Attributes | |
| static constexpr const char * | kUnknown = "<unknown>" |
| This constant is returned from Message::Get* functions if the PostgreSQL failed retrieve some info. | |
|
strong |
Definition at line 21 of file message.hpp.
|
staticconstexpr |
This constant is returned from Message::Get* functions if the PostgreSQL failed retrieve some info.
Definition at line 46 of file message.hpp.