https://issues.dlang.org/show_bug.cgi?id=13541
--- Comment #9 from Vladimir Panteleev <[email protected]> --- Only that won't make sysErrorString nothrow because of UTF conversions. (In reply to Walter Bright from comment #8) > return > "failed getting error string for WinAPI error code: " ~ > sysErrorString(newErrCode); For the record, this is a horrible solution. Imagine that an end-user tries using a D app, and they get an error popup that just says "failed getting error string for WinAPI error code: Resource not found". Not even an error code they can Google for. A better solution, and what wenforce already does, is to silently omit the error message and just return the error code as a string. --
