https://issues.dlang.org/show_bug.cgi?id=13541

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #11 from Dlang Bot <[email protected]> ---
@MoonlightSentinel created dlang/phobos pull request #8420 "Fix 13541 - Make
sysErrorString and WindowsException ctor nothrow" fixing this issue:

- Fix 13541 - Make sysErrorString and WindowsException ctor nothrow

  Both functions are used mostly when creating an exception for another
  error. Throwing another exception because the error message could not
  be retrieved suppresses the actually useful information (the error code).

  Hence this patch changes the aforementioned functions to yield
  `Error <code>` when the message lookup fails.

https://github.com/dlang/phobos/pull/8420

--

Reply via email to