Skip to content

SubjectBase.OnError(Exception) method

Defined in

Type: SubjectBase Namespace: System.Reactive.Subjects Assembly: System.Reactive.dll

Applies to

netstandard2.0

public abstract void OnError(Exception error)

Summary: Notifies all subscribed observers about the specified exception.

Parameters

NameTypeDescription
errorExceptionThe exception to send to all currently subscribed observers.

Exceptions

TypeCondition
System.ArgumentNullExceptionerror is null.