Is there a way to unwind the call stack and return a value?
I am writing an exception handler for fatal error conditions. Instead of calling die I would like to rewind the stack to main. Is there a function or module that provides this capability? Can I return a string to main?
Thanks.