using ReactiveUI;

namespace VeloeMinecraftLauncher.ViewModels;

public class ErrorWindowViewModel : ViewModelBase
{
    public ErrorWindowViewModel(string errorMessage, string errorTrace)
    {
        ErrorMessage = errorMessage;
        ErrorTrace = errorTrace;
    }

    private string _errorMessage;
    private string _errorTrace;

    public string ErrorTrace
    {
        get => _errorTrace;
        set => this.RaiseAndSetIfChanged(ref _errorTrace, value);
    }

    public string ErrorMessage
    {
        get => _errorMessage;
        set => this.RaiseAndSetIfChanged(ref _errorMessage, value);
    }
}
