Transforms the inner Err instance if this is an Err.
Result<T> mapErr(@noFutures Err<T> Function(Err<T> err) noFutures);