| Home | Libraries | People | FAQ | More

#### error_with_diagnostics

A system_error with an embedded diagnostics object.

##### Synopsis

Defined in header `<boost/mysql/error_with_diagnostics.hpp>`

    class error_with_diagnostics
        : public system::system_error;

##### Member Functions

Name | Description
--- | ---
error_with_diagnostics [constructor] | Initializing constructor.
get_diagnostics | Retrieves the server diagnostics embedded in this object.

##### Description

Like `boost::system::system_error`, but adds a `diagnostics` member containing additional information.

Convenience header `<boost/mysql.hpp>`