Good question.
Solution: Move the part inside the loop to a sub-microflow. You can do the custom error handling there.
Can anyone from Mendix answer this question? Of course, Chris' solution helps, but it seems like pointless extra work to achieve this.
Maybe a stupid remark, but could you not use the Break event to jump out of the loop, when an error has been discivered?
I think it is the traditional way to do it.
Can be easily handled with a java action and session transaction, ( using different session context).
Not 100% sure but I reckon the reason custom error handling in a loop is a no go is that the rollback behaviour can not be defined if you are using custom error handling
When you use a sub microflow we are actually defining what happens on rollback if the custom error handling runs into an error