Performs a side-effect with the contained error if this is an Err.
Result<T> ifErr( @noFutures void Function(Result<T> self, Err<T> err) noFutures, );