...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 message. |
|
diagnostics [constructor] |
Constructs a diagnostics object with an empty error message. |
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. Currently, it's used to hold any error messages sent by the server
on error (server_message
). More members may
be added in the future.
Convenience header <boost/mysql.hpp>