Failsafe - simple, sophisticated failure handling.
See the
project homepage
for usage instructions.