...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
MySQL client-defined error codes.
Defined in header <boost/mysql/client_errc.hpp>
enum class client_errc : int;
Name |
Description |
---|---|
|
An incomplete message was received from the server (indicates a deserialization error or packet mismatch). |
|
An unexpected value was found in a server-received message (indicates a deserialization error or packet mismatch). |
|
The server does not support the minimum required capabilities to establish the connection. |
|
Unexpected extra bytes at the end of a message were received (indicates a deserialization error or packet mismatch). |
|
Mismatched sequence numbers (usually caused by a packet mismatch). |
|
The user employs an authentication plugin not known to this library. |
|
The authentication plugin requires the connection to use SSL. |
|
The number of parameters passed to the prepared statement does not match the number of actual parameters. |
|
The connection mandates SSL, but the server doesn't accept SSL connections. |
|
The static interface detected a mismatch between your C++ type definitions and what the server returned in the query. |
|
The static interface detected a mismatch between the number of
row types passed to |
|
The |
|
The static interface encountered an error when parsing a field into a C++ data structure. |
|
Getting a connection from a connection_pool was cancelled before the pool was run. Ensure that you're calling connection_pool::async_run. |
|
Getting a connection from a connection_pool failed because the pool was cancelled. |
|
Getting a connection from a connection_pool was cancelled before a connection was available. |
|
An invalid byte sequence was found while trying to decode a string. |
|
A formatting operation could not format one of its arguments. |
|
A format string containing invalid syntax was provided to a SQL formatting function. |
|
A format string with an invalid byte sequence was provided to a SQL formatting function. |
|
A format string mixes manual (e.g. {0}) and automatic (e.g. {}) indexing. |
|
The supplied format specifier (e.g. {:i}) is not supported by the type being formatted. |
|
A format argument referenced by a format string was not found. Check the number of format arguments passed and their names. |
|
The character set used by the connection is not known by the client.
Use |
|
An operation attempted to read or write a packet larger than the
maximum buffer size. Try increasing |
These errors are produced by the client itself, rather than the server.
Convenience header <boost/mysql.hpp>