onError

open override fun onError(block: (Throwable) -> Unit)(source)

Callback for when an error occurs.

Note that errors are not necessarily fatal; they are used for reporting any kind of exceptional condition out of a band.