addError abstract method

void addError(
  1. EventSink<R> sink,
  2. Object error, [
  3. StackTrace? st
])

Handle error event

Implementation

void addError(EventSink<R> sink, Object error, [StackTrace? st]);