onError

open override var onError: (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 band.