ErrorManagerBloc constructor

ErrorManagerBloc()

Implementation

ErrorManagerBloc() : super(NoErrors()) {
  on<APIErrorRaised>((event, emit) => _handleErrorRaised(event, emit));
  on<GeneralErrorRaised>((event, emit) => _handleErrorRaised(event, emit));
  on<ErrorDismissed>((event, emit) => emit.call(NoErrors()));
}