Macro af_core::util::attempt [−][src]
Runs a block of code and catches ? operator returns.
This is just a cleaner version of creating a closure and immediately calling
it. It is intended to serve as a replacement for try { .. } until it is
stable.