Add project files.

This commit is contained in:
Junior 2023-05-12 17:19:21 -03:00
commit 5d3b4542bf
120 changed files with 36258 additions and 0 deletions

View file

@ -0,0 +1,15 @@
using RHLauncher.Helper;
namespace RHLauncher.RHLauncher.Helper
{
public class ExceptionHandler
{
public static void HandleException(Exception ex, Exception exlog)
{
string errorMessage = $"Error: {ex.Message}";
string errorLog = $"Error:{ex.Message} {Environment.NewLine} {exlog.Message}";
Logger.WriteLog(errorLog);
MsgBoxForm.Show(errorMessage, LocalizedStrings.Error);
}
}
}