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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

diagnostics

Contains additional information about errors.

Synopsis

Defined in header <boost/mysql/diagnostics.hpp>

class diagnostics
Member Functions

Name

Description

clear

Clears the error message.

diagnostics [constructor]

Constructs a diagnostics object with an empty error message.

server_message

Gets the server-generated error message.

Related Functions

Name

Description

operator==

Compares two diagnostics objects.

operator!=

Compares two diagnostics objects.

Description

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>


PrevUpHomeNext