Protocol Error
class ProtocolError(reasonCode: ReasonCode, message: String, cause: Throwable? = null) : MqttException
A protocol-level error occurred.
Covers malformed packets, unexpected packet types from the broker, and other MQTT protocol violations.