mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-08 08:54:36 +01:00
ughhhhhhhhhhhhhhhhh
This commit is contained in:
parent
380c8732c6
commit
4042d138b2
11 changed files with 321 additions and 301 deletions
23
Dalamud.Bootstrap/ProcessException.cs
Normal file
23
Dalamud.Bootstrap/ProcessException.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace Dalamud.Bootstrap
|
||||
{
|
||||
public class ProcessException : BootstrapException
|
||||
{
|
||||
internal ProcessException() : base() { }
|
||||
|
||||
internal ProcessException(string message) : base(message) { }
|
||||
|
||||
internal ProcessException(string message, Exception innerException) : base(message, innerException) { }
|
||||
|
||||
internal static void ThrowLastOsError()
|
||||
{
|
||||
var inner = new Win32Exception();
|
||||
|
||||
throw new ProcessException(inner.Message, inner);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue