The Invalid Error Handler Flow error is issued in the following situation:
Flow path of error handler '<error handler>' can't cross main path or other in flow '<flow>' : the flow path of your Error Handler is crossing the regular execution of the screen or action flow.
Change the exception flow of this Error Handler. Learn more about the exception flow.
Overview of Exceptions | About Error Messages