Allfaq.org
 
 
failureaction 1.0 Alpha 1

failureaction is a package intended to provide decorators which execute custom actions in case of exceptions. Let's see an example:

First we need an object with some methods. These ...