onConnectionError

open fun onConnectionError(error: Exception)

Invoked when encountering an error while establishing the XMPP websocket connection.

This method provides notifications about issues during the connection establishment process.