addInputError method

void addInputError(
  1. Object error, [
  2. StackTrace? stackTrace
])

Pushes an input-side error into the backend stream.

Implementation

void addInputError(Object error, [StackTrace? stackTrace]) {
  if (_disposed) return;
  _inputController.addError(error, stackTrace);
}