[Issue 13541] std.windows.syserror.sysErrorString() should be nothrow
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Sep 28 02:26:14 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13541
--- Comment #3 from Marco Leise <Marco.Leise at gmx.de> ---
When I was writing platform specific code, I just put POSIX and WinAPI
enforcement into a single `osApiEnforce`, throwing an OSApiException. I found I
used it very often, because it was so easy to remember.
Still we would want to catch that Exception inside sysErrorString() to be able
to make it nothrow.
--
More information about the Digitalmars-d-bugs
mailing list