| Home | Libraries | People | FAQ | More

#### get_mysql_server_category

Returns the error_category associated to errors specific to MySQL.

##### Synopsis

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

    const boost::system::error_category&
    get_mysql_server_category() noexcept;

##### Exception safety

No-throw guarantee.

##### Object lifetimes

The returned reference is always valid (points to a singleton).

##### Thread safety

This function is thread-safe.

Convenience header `<boost/mysql.hpp>`