private void AssertPatcherError(string errorText) { if (gamePatcher.HasFailed()) { throw new PatchException(errorText); } }