You might find Attempt of interest.
Basically my approach would be to wrap code that might fail in an eval and store whatever state I need so I can restore it on failure.
In reply to Re: Crash immunity
by adrianh
in thread Crash immunity
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |