...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Contains additional information about errors.
Defined in header <boost/mysql/diagnostics.hpp>
class diagnostics
Name |
Description |
---|---|
Clears the error messages. |
|
Gets the client-generated error message. |
|
diagnostics [constructor] |
Constructs a diagnostics object with empty error messages. |
Gets the server-generated error message. |
Name |
Description |
---|---|
Compares two diagnostics objects. |
|
Compares two diagnostics objects. |
This class is a container for additional diagnostics about an operation that
failed. It can contain server-generated messages (server_message
) or client-side messages
(client_message
). More members may
be added in the future.