onSocketError

open fun onSocketError(t: Throwable, response: Response?)

Emitted when occurs an error in the websocket connection