error property

AsyncError get error

The last emitted error,

A StateError is thrown if a value has not been emitted (that is, if hasError returns false).

Implementation

AsyncError get error;