MySQL 9.1.0
Source Code Documentation
|
Generic Error message. More...
Public Types | |
enum | Severity { ERROR = 0 , FATAL = 1 } |
Public Attributes | |
optional Severity | severity = 1 [ default = ERROR ] |
severity of the error message More... | |
required uint32 | code = 2 |
error code More... | |
required string | sql_state = 4 |
SQL state. More... | |
required string | msg = 3 |
human-readable error message More... | |
ServerMessages::Type | server_message_id = ERROR |
Generic Error message.
A severity
of ERROR
indicates the current message sequence is aborted for the given error and the session is ready for more.
In case of a FATAL
error message the client should not expect the server to continue handling any further messages and should close the connection.
required uint32 Mysqlx::Error::code = 2 |
error code
required string Mysqlx::Error::msg = 3 |
human-readable error message
ServerMessages::Type Mysqlx::Error::server_message_id = ERROR |
required string Mysqlx::Error::sql_state = 4 |
SQL state.