mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 14:57:45 +01:00
WIP launcher
This commit is contained in:
parent
57e046cd71
commit
a73a479f73
6 changed files with 62 additions and 91 deletions
|
|
@ -1,26 +1,27 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Dalamud.Injector
|
||||
{
|
||||
public class DalamudException : Exception
|
||||
{
|
||||
public DalamudException() : base() { }
|
||||
|
||||
public DalamudException(string message) : base(message) { }
|
||||
|
||||
public DalamudException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
|
||||
public partial class DalamudProcessException : DalamudException
|
||||
/// <summary>
|
||||
/// An error that is thrown when injecting Dalamud into the process failed.
|
||||
/// </summary>
|
||||
public partial class DalamudLauncherException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// A target process id that was attempted to.
|
||||
/// </summary>
|
||||
public uint ProcessId { get; }
|
||||
}
|
||||
|
||||
public partial class DalamudProcessException
|
||||
public partial class DalamudLauncherException
|
||||
{
|
||||
public DalamudProcessException(uint pid, string message) : base(message)
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue