I'd like to log stacktraces of caught exceptions in an @safe manner. However, Throwable.TraceInfo.toString is not @safe (or @trusted), so this is not possible. Why is it not @safe? Can it be @trusted?
Thanks for your help!
Johannes Loher via Digitalmars-d-learn Sun, 21 Jul 2019 11:05:42 -0700
I'd like to log stacktraces of caught exceptions in an @safe manner. However, Throwable.TraceInfo.toString is not @safe (or @trusted), so this is not possible. Why is it not @safe? Can it be @trusted?
Thanks for your help!