onError

open override fun onError(error: StreamWebSocketEvent.Error)

Invoked when there is any error in this web socket connection.

Parameters

error

Error object with the error details.