onActiveError method

void onActiveError(
  1. ErrorEvent event
)

Alerts ActiveState that an error has occurred. all listeners registered by theonActiveErrorListener function will be executed

Implementation

void onActiveError(ErrorEvent event) {
  if (_errorController.isClosed) {
    return;
  }
  _errorController.add(event);
}