onError

open fun onError(error: Error)

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

Parameters

error

Error object with the error details.