mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
2c47f54752
Adds ability to wrap an existing exception and push it through the pipe
17 lines
462 B
C#
17 lines
462 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Wabbajack.Common.StatusFeed
|
|
{
|
|
public abstract class AErrorMessage : Exception, IException
|
|
{
|
|
public DateTime Timestamp { get; } = DateTime.Now;
|
|
public abstract string ShortDescription { get; }
|
|
public abstract string ExtendedDescription { get; }
|
|
Exception IException.Exception => this;
|
|
}
|
|
}
|