ErrorStream<T> constructor

ErrorStream<T>(Object error)

Constructs a Stream which immediately throws an error and then subsequently closes.

Implementation

ErrorStream(this.error);