An error message displays when the client is actively disconnected for any of these reasons:
ErrSlowConsume
).ErrSlowRead
).Message too big
)Most failure cases trigger an error
message—specifically, a message with the type
"error"
. This can be helpful when implementing a client or debugging issues.