You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
470 B
17 lines
470 B
1 year ago
|
using System;
|
||
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||
|
using StabilityMatrix.Avalonia.Views.Dialogs;
|
||
|
using StabilityMatrix.Core.Attributes;
|
||
|
|
||
|
namespace StabilityMatrix.Avalonia.ViewModels.Dialogs;
|
||
|
|
||
|
[View(typeof(ExceptionDialog))]
|
||
|
public partial class ExceptionViewModel : ViewModelBase
|
||
|
{
|
||
|
public Exception? Exception { get; set; }
|
||
|
|
||
|
public string? Message => Exception?.Message;
|
||
|
|
||
|
public string? ExceptionType => Exception?.GetType().Name ?? "";
|
||
|
}
|