@@ -23,19 +23,25 @@ namespace mysql {
23
23
*/
24
24
enum class client_errc : int
25
25
{
26
- // / An incomplete message was received from the server (indicates a deserialization error or
27
- // / packet mismatch).
26
+ /* *
27
+ * \brief An incomplete message was received from the server (indicates a deserialization error or
28
+ * packet mismatch).
29
+ */
28
30
incomplete_message = 1 ,
29
31
30
- // / An unexpected value was found in a server-received message (indicates a deserialization
31
- // / error or packet mismatch).
32
+ /* *
33
+ * \brief An unexpected value was found in a server-received message (indicates a deserialization
34
+ * error or packet mismatch).
35
+ */
32
36
protocol_value_error,
33
37
34
38
// / The server does not support the minimum required capabilities to establish the connection.
35
39
server_unsupported,
36
40
37
- // / Unexpected extra bytes at the end of a message were received (indicates a deserialization
38
- // / error or packet mismatch).
41
+ /* *
42
+ * \brief Unexpected extra bytes at the end of a message were received (indicates a deserialization
43
+ * error or packet mismatch).
44
+ */
39
45
extra_bytes,
40
46
41
47
// / Mismatched sequence numbers (usually caused by a packet mismatch).
@@ -47,22 +53,29 @@ enum class client_errc : int
47
53
// / The authentication plugin requires the connection to use SSL.
48
54
auth_plugin_requires_ssl,
49
55
50
- // / The number of parameters passed to the prepared statement does not match the number of
51
- // / actual parameters.
56
+ /* *
57
+ * \brief The number of parameters passed to the prepared statement does not match the number of
58
+ * actual parameters.
59
+ */
52
60
wrong_num_params,
53
61
54
62
// / The connection mandates SSL, but the server doesn't accept SSL connections.
55
63
server_doesnt_support_ssl,
56
64
57
- // / The static interface detected a mismatch between your C++ type definitions and what the server
58
- // / returned in the query.
65
+ /* *
66
+ * \brief
67
+ * The static interface detected a mismatch between your C++ type definitions and what the server
68
+ * returned in the query.
69
+ */
59
70
metadata_check_failed,
60
71
61
- // / The static interface detected a mismatch between the number of row types passed to `static_results`
62
- // / or `static_execution_state` and the number of resultsets returned by your query.
72
+ /* *
73
+ * \brief The static interface detected a mismatch between the number of row types passed to
74
+ * \ref static_results or \ref static_execution_state and the number of resultsets returned by your query.
75
+ */
63
76
num_resultsets_mismatch,
64
77
65
- // / The StaticRow type passed to read_some_rows does not correspond to the resultset type being read.
78
+ // / The ` StaticRow` type passed to read_some_rows does not correspond to the resultset type being read.
66
79
row_type_mismatch,
67
80
68
81
// / The static interface encountered an error when parsing a field into a C++ data structure.
@@ -74,8 +87,10 @@ enum class client_errc : int
74
87
// / (EXPERIMENTAL) An operation controlled by Boost.MySQL was cancelled.
75
88
cancelled,
76
89
77
- // / (EXPERIMENTAL) Getting a connection from a connection_pool failed because the
78
- // / pool is not running. Ensure that you're calling connection_pool::async_run.
90
+ /* *
91
+ * \brief (EXPERIMENTAL) Getting a connection from a connection_pool failed because the
92
+ * pool is not running. Ensure that you're calling connection_pool::async_run.
93
+ */
79
94
pool_not_running,
80
95
81
96
// / (EXPERIMENTAL) An invalid byte sequence was found while trying to decode a string.
@@ -87,8 +102,10 @@ enum class client_errc : int
87
102
// / (EXPERIMENTAL) A format string containing invalid syntax was provided to a SQL formatting function.
88
103
format_string_invalid_syntax,
89
104
90
- // / (EXPERIMENTAL) A format string with an invalid byte sequence was provided to a SQL formatting
91
- // / function.
105
+ /* *
106
+ * \brief (EXPERIMENTAL) A format string with an invalid byte sequence was provided to a SQL formatting
107
+ * function.
108
+ */
92
109
format_string_invalid_encoding,
93
110
94
111
// / (EXPERIMENTAL) A format string mixes manual (e.g. {0}) and automatic (e.g. {}) indexing.
@@ -97,16 +114,23 @@ enum class client_errc : int
97
114
// / (EXPERIMENTAL) The supplied format specifier (e.g. {:i}) is not supported by the type being formatted.
98
115
format_string_invalid_specifier,
99
116
100
- // / (EXPERIMENTAL) A format argument referenced by a format string was not found. Check the number
101
- // / of format arguments passed and their names.
117
+ /* *
118
+ * \brief (EXPERIMENTAL) A format argument referenced by a format string was not found. Check the number
119
+ * of format arguments passed and their names.
120
+ */
102
121
format_arg_not_found,
103
122
104
- // / (EXPERIMENTAL) The character set used by the connection is not known by the client. Use
105
- // / set_character_set or async_set_character_set before invoking operations that require a known charset.
123
+ /* *
124
+ * \brief (EXPERIMENTAL) The character set used by the connection is not known by the client. Use
125
+ * \ref any_connection::set_character_set or \ref any_connection::async_set_character_set
126
+ * before invoking operations that require a known charset.
127
+ */
106
128
unknown_character_set,
107
129
108
- // / (EXPERIMENTAL) An operation attempted to read or write a packet larger than the maximum buffer size.
109
- // / Try increasing \ref any_connection_params::max_buffer_size.
130
+ /* *
131
+ * \brief (EXPERIMENTAL) An operation attempted to read or write a packet larger than the maximum buffer
132
+ * size. Try increasing \ref any_connection_params::max_buffer_size.
133
+ */
110
134
max_buffer_size_exceeded,
111
135
};
112
136
0 commit comments