Skip to content

IAsyncObserver<T>.OnErrorAsync(Exception)

OnErrorAsync(Exception)

abstract
public abstract Task OnErrorAsync(Exception ex)
Notifies the consumer that the stream had an error.

The Task returned from this method should be completed when the consumer is done processing the stream closure.

Parameters

exException
An Exception that describes the error that occurred on the stream.

Returns

A Task that is completed when the close has been accepted.