This commit is contained in:
Mino 2020-04-04 14:38:03 +09:00
parent ac80895f43
commit b5f1084f73
6 changed files with 109 additions and 46 deletions

View file

@ -23,9 +23,13 @@ namespace Dalamud.Bootstrap.Windows
internal static void ThrowLastOsError(uint pid)
{
var inner = new Win32Exception();
throw new ProcessException(inner.ToString(), pid, inner);
}
const string message = "";
throw new ProcessException(message, pid, inner);
internal static void ThrowLastOsError(string message)
{
var inner = new Win32Exception();
throw new ProcessException(message, inner);
}
}
}