On Sunday, 22 November 2015 at 10:01:48 UTC, Kagamin wrote:
As an idiomatic option there can be `finally(exit)`, `finally(success)` and `finally(failure)` that would mirror semantics of scope guards.

how does this differ from just putting a scope(failure) inside the try block? it only triggers if no exception is thrown, else it goes to the catch.

Reply via email to