onError method
- @protected
- @mustCallSuper
- IBloc<
Object?, Object?> bloc, - Object error,
- StackTrace stackTrace
Called whenever an error
is thrown in any Bloc.
The stackTrace
argument may be StackTrace.empty if an error
was received without a stack trace.
Implementation
@protected
@mustCallSuper
void onError(IBloc bloc, Object error, StackTrace stackTrace) {}