Is there a method that can be called to exit from inside a nested procedure that will also end the owner / parent procedure?
No. No.
You can create an exception and catch it in an external function. But personally, I find this pretty ugly. Perhaps cleaner is to return a boolean from the inner function, and then exit if the inner function returns False .
source share