Skip to content

ObserverBase.OnErrorCore(Exception) method

Defined in

Type: ObserverBase Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

netstandard2.0

protected abstract void OnErrorCore(Exception error)

Summary: Implement this method to react to the occurrence of an exception.

Parameters

NameTypeDescription
errorExceptionThe error that has occurred.

Remarks

This method only gets called when the observer hasn't stopped yet, and causes the observer to stop.