[Issue 13450] New: Add WindowsException and wenforce to std.exception

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 9 15:26:33 PDT 2014


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: nobody at puremagic.com
          Reporter: thecybershadow at 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.

--


More information about the Digitalmars-d-bugs mailing list