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

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.


PrevUpHomeNext