doError method

  1. @protected
  2. @mustCallSuper
void doError(
  1. Object error,
  2. StackTrace stackTrace
)

Passes the error to the destination.

Implementation

@protected
@mustCallSuper
void doError(Object error, StackTrace stackTrace) {
  destination.error(error, stackTrace);
  dispose();
}