Catching all exceptions from within an enclosed computation
https://github.com/jcristovao/enclosed-exceptions