Multi-Platform Package Manager for Stable Diffusion
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.
 
 
 

21 lines
490 B

namespace StabilityMatrix.Core.Exceptions;
/// <summary>
/// Generic runtime exception with custom handling by notification service
/// </summary>
public class AppException : ApplicationException
{
public override string Message { get; }
public string? Details { get; init; }
public AppException(string message)
{
Message = message;
}
public AppException(string message, string details)
{
Message = message;
Details = details;
}
}