|
MySQL Connector/C++ 9.5.0
MySQL connector library for C and C++ applications
|
An error, warning or other diagnostic information reported by server when executing queries or statements. More...
Public Types | |
| enum | Level { LEVEL_ERROR , LEVEL_WARNING , LEVEL_INFO } |
| Type of diagnostic information. More... | |
Public Member Functions | |
| Level | getLevel () const |
| Return level of the diagnostic info stored in this object. | |
| uint16_t | getCode () const |
| Return error/warning code reported by server. | |
| const string & | getMessage () const |
| Return diagnostic message reported by server. | |
An error, warning or other diagnostic information reported by server when executing queries or statements.
The information can be printed to output stream using << operator.
Warning instances but instead they are thrown as instances of mysqlx::Error. | enum Level |