I’m particularly interested, how I can produce nested exception and how I can access those afterwards when I handle them. A link to some documentation would be appreciated. I have already tried to find it on the D website. No success though. I’m particularly interested in D2.
I’m particularly interested, how I can produce nested exception and how I can access
Share
Throwabledocumentation: http://dlang.org/phobos/object.html#ThrowableThrowableis implemented here: https://github.com/D-Programming-Language/druntime/blob/master/src/object_.d#L1304Exception, which is currently not documented, is a subclass ofThrowablewith no new fields or methods.Error, which is currently also not documented, is a subclass ofThrowablewith one new field:bypassedException, which is documented as following: