Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.90.0.
Gets the server-generated error message.
string_view server_message() const;
It's encoded according to character_set_results
character set, which usually matches the connection's character set. It
may potentially contain user input.
No-throw guarantee.
The returned view is valid as long as *this is alive, hasn't been assigned-to or
moved-from, and clear hasn't been called. Moving
*this
invalidates the view.