ERR packet

The ERR packet is sent by the server to indicate an error.

Properties

  • int sequenceId: the sequence ID for the packet.

  • String packetType: always "ERR" - read-only.

  • int errorCode: the code for the error. The meaning of this code can be found in the MySQL documentation.

  • String sqlState: the SQL state for this packet. The meaning of this string can be found in the MySQL documentation.

  • String errorMessage: the error message for this packet