error property

  1. @override
Object get error
override

Returns last emitted error, failing if there is no error.

Throws ValueStreamError if this Stream has no error.

Implementation

@override
Object get error => _subject.error;