I would like to spin the stack to an arbitrary level when catch / try not available (i.e. the code I'm deploying is out of control). Is it possible?
For example, during testing, I would like my tests to call a method that checks the preconditions, and unwind the caller if these preconditions are not met (resume in caller[1] ). Since the test harness failed, I cannot configure the catch in the appropriate place.
source share