Error Event
This event is fired when the server sends a protocol error message.
Syntax
public open class DefaultXmppEventListener : XmppEventListener { ... public override fun error(e: XmppErrorEvent) {} ... } public class XmppErrorEvent { val errorCode: Int val description: String? }
Remarks
This is fired whenever there is a protocol error. ErrorCode will contain the error code string sent by the server. Description will contain the Xmpp component's interpretation of the code.