METHOD
IObserver<T>.OnError
Signals a terminal source failure.
Formal Syntax & Structure
csharp syntaxcsharp
void OnError(Exception error)Working Example
Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.observer.OnError(new InvalidOperationException()); // illustrative: existing observer