https://issues.dlang.org/show_bug.cgi?id=13450
Issue ID: 13450 Summary: Add WindowsException and wenforce to std.exception Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: Phobos Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com Having a GetLastError/FormatMessage-based mechanism to handle Win32 errors would be quite useful. We already have ErrnoException and errnoEnforce, however these are for the C errno concept, and do not include Windows errors. --