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