In case of an error on the server the error is reported to the clients through an error command.
error <error code> <error text>
The error command is the only command that is not prefixed with a subscription id, since this would not be meaningful. Errors relate to the entire connection and not just one subscription (typically the last sent command by the client).
error code
is an integer representing the error that happened. Error codes are TBD.error text
is a textual representation of the error which can be directly presented to a user.