function(error) {
        Strophe.error("Websocket error " + error);
        this._conn._changeConnectStatus(Strophe.Status.CONNFAIL, "The WebSocket connection could not be established was disconnected.");
        this._disconnect();
    }
function(error) {
        Strophe.error("Websocket error " + error);
        this._conn._changeConnectStatus(Strophe.Status.CONNFAIL, "The WebSocket connection could not be established was disconnected.");
        this._disconnect();
    }
function ( error ) { Strophe . error ( "Websocket error " + error ) ; this . _conn . _changeConnectStatus ( Strophe . Status . CONNFAIL , "The WebSocket connection could not be established was disconnected." ) ; this . _disconnect ( ) ; }
PrivateFunction: _onError
_Private_ function to handle websockets errors.

Parameters:
(Object) error - The websocket error.
PrivateFunction : _onError _Private_ function to handle websockets errors .
The WebSocket error handler