Hi @Rhys18 ,
You can use try catch block.
In catch block catch the exception and use a flag value by assigning is_exception=True which a boolean variable.
Now in flowchart check if is_exception=True. If it is true take the flowchart node to the starting/Initialization node.
Thanks & Regards,
Shubham Dutta