On Monday, 4 August 2014 at 10:01:42 UTC, Manu via Digitalmars-d wrote:

catch can't appear on its own though... or are you suggesting that it
should be possible?

Yes, that's what I'm suggesting.

Yeah, that. Except I think scope(failure, Exception e) also has a place; there are instances where you don't want to stop the unwind, but you do want to be able to retrieve some information from the exception during the unwind... useful for error recording or context sensitive recovery.

Then rethrow the exception.

--
/Jacob Carlborg

Reply via email to