![]() |
Home | Libraries | People | FAQ | More |
Gets the server-generated error message.
string_view
server_message() const noexcept;
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.