effectRejected method
Defines function type which is invoked when an effect is rejected by the middleware
effectId
The ID of the yielded effect
error
Error raised with the rejection of the effect
Implementation
@override
void effectRejected(int effectId, dynamic error) {
var ed = _effectsById[effectId];
ed?.error = error;
ed?.status = _EffectStatus.Rejected;
_log();
}