Any way to peek at the exception currently being thrown?

Francesco Mecca me at francescomecca.eu
Tue Jun 1 16:51:11 UTC 2021


On Tuesday, 1 June 2021 at 16:36:31 UTC, Andrei Alexandrescu 
wrote:
> One possible idiom is to use scope(failure) and take a look at 
> the exception being thrown.
>
> Is there a way to do that? If not, I assume it shouldn't be 
> difficult to add to druntime?

https://forum.dlang.org/thread/k6epn0$2ms6$1@digitalmars.com


More information about the Digitalmars-d mailing list