Bug 13450 – Add WindowsException and wenforce to std.exception
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2014-09-09T22:26:00Z
Last change time
2014-09-26T08:39:20Z
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0 by dlang-bugzilla — 2014-09-09T22:26:33Z
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.
Comment #1 by github-bugzilla — 2014-09-26T08:39:20Z