scope(failure): get exception

Justin Whear justin at economicmodeling.com
Fri Oct 26 12:53:04 PDT 2012


Is there a way to get the current exception inside a scope(failure)?  I 
have a try..catch around my main loop which simply logs the caught 
exception and rethrows it.  I'd like to replace this with a simple scope
(failure) but I haven't found any way to access the exception causing the 
unwinding.


More information about the Digitalmars-d-learn mailing list