This commit is contained in:
Mino 2020-03-08 02:05:24 +09:00
parent f583f76537
commit 2438a89867
7 changed files with 678 additions and 170 deletions

View file

@ -0,0 +1,29 @@
using System;
namespace Dalamud.Injector
{
/// <summary>
/// An error that is thrown when injecting Dalamud into the process failed.
/// </summary>
public sealed partial class DalamudLauncherException : Exception
{
/// <summary>
/// A target process id that was attempted to.
/// </summary>
public uint ProcessId { get; }
}
public sealed partial class DalamudLauncherException
{
public DalamudLauncherException() : base() { }
public DalamudLauncherException(string message) : base(message) { }
public DalamudLauncherException(string message, Exception inner) : base(message, inner) { }
public DalamudLauncherException(uint pid, string message, Exception inner) : base(message, inner)
{
ProcessId = pid;
}
}
}