Bug 14289 – WindowsException should not attempt to parse code 0

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2015-03-15T19:36:00Z
Last change time
2017-07-19T17:42:46Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2015-03-15T19:36:24Z
It is occasionally useful to use WindowsException for error conditions that do not have a GetLastError code. For code 0, generation of the error string should be omitted.
Comment #1 by dlang-bugzilla — 2015-03-15T19:51:30Z
Comment #2 by github-bugzilla — 2015-06-11T13:53:06Z
Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/a2102aa66c2145a4dfe2ec2dfd1c171530d2e3a7 fix Issue 14289 - WindowsException should not attempt to parse code 0
Comment #3 by github-bugzilla — 2017-07-19T17:42:46Z
Commit pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a2102aa66c2145a4dfe2ec2dfd1c171530d2e3a7 fix Issue 14289 - WindowsException should not attempt to parse code 0