abstract fun onStreamError(ex: Exception): Unit
Invoked when there is an error in the stream.
ex - the underlying error
ex