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 a snapshot of the develop branch, built from commit 0bde506516.
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 messages.

client_message

Gets the client-generated error message.

diagnostics [constructor]

Constructs a diagnostics object with empty error messages.

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. It can contain server-generated messages (server_message) or client-side messages (client_message). More members may be added in the future.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext