[−][src]Macro aml::try_with_context
Helper macro for use within map_with_context
as an alternative to "trying" an expression.
Example
Problem: expr?
won't work because the expected return type is (Result<R, AmlError>, &mut AmlContext)
Solution: use try_with_context!(context, expr)
instead.