Convert Win32 error code to string.
Query the text for a Windows error code, as returned by
GetLastError, as a D string.
Thrown if errors that set
GetLastError's return value.
!!value is true,
value is returned. Otherwise,
new WindowsException(GetLastError(), msg) is thrown.
WindowsException assumes that the last operation set
wenforce(DeleteFileA("junk.tmp"), "DeleteFile failed");
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.