mapErr<W extends Object> method
Implementation
@override
Err<S, W> mapErr<W extends Object>(W Function(F error) fn) {
final newError = fn(err);
return Err(newError);
}
@override
Err<S, W> mapErr<W extends Object>(W Function(F error) fn) {
final newError = fn(err);
return Err(newError);
}