handleBaseErrorEvent method

  1. @protected
Future<void> handleBaseErrorEvent(
  1. BaseErrorEvent event,
  2. Emitter<BaseState> emit
)
inherited

Throws error state

Implementation

@protected
Future<void> handleBaseErrorEvent(
  BaseErrorEvent event,
  Emitter<BaseState> emit,
) async {
  emit(BaseErrorState(
    exception: event.exception,
    tag: event.tag,
  ));
}