On Wednesday, 12 February 2014 at 01:08:42 UTC, bearophile wrote:
Is it possible to use a lazy argument there?
I think it depends on the task. To just wrap generic code though a delegate seems most straightforward.
And isn't it better to catch Exception only?
Perhaps, or the specific FailException type or whatever.