From a0dec019feab734f2b9016ffccb1633f18fddba6 Mon Sep 17 00:00:00 2001 From: routersys Date: Sun, 28 Jun 2026 16:15:02 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BE=8B=E5=A4=96=E3=82=AF=E3=83=A9=E3=82=B9?= =?UTF-8?q?=E7=BE=A4=E3=82=92=E5=80=8B=E5=88=A5=E3=83=95=E3=82=A1=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=81=B8=E5=88=86=E9=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaScript/LuaScriptCompilationException.cs | 6 ++++++ LuaScript/LuaScriptException.cs | 6 ++++++ LuaScript/LuaScriptExceptions.cs | 10 ---------- LuaScript/LuaScriptRuntimeException.cs | 6 ++++++ LuaScript/LuaScriptTimeoutException.cs | 6 ++++++ 5 files changed, 24 insertions(+), 10 deletions(-) create mode 100644 LuaScript/LuaScriptCompilationException.cs create mode 100644 LuaScript/LuaScriptException.cs delete mode 100644 LuaScript/LuaScriptExceptions.cs create mode 100644 LuaScript/LuaScriptRuntimeException.cs create mode 100644 LuaScript/LuaScriptTimeoutException.cs diff --git a/LuaScript/LuaScriptCompilationException.cs b/LuaScript/LuaScriptCompilationException.cs new file mode 100644 index 0000000..fa11929 --- /dev/null +++ b/LuaScript/LuaScriptCompilationException.cs @@ -0,0 +1,6 @@ +using System; + +namespace LuaScript +{ + internal sealed class LuaScriptCompilationException(string message, Exception? inner = null) : LuaScriptException(message, inner); +} diff --git a/LuaScript/LuaScriptException.cs b/LuaScript/LuaScriptException.cs new file mode 100644 index 0000000..5b08e59 --- /dev/null +++ b/LuaScript/LuaScriptException.cs @@ -0,0 +1,6 @@ +using System; + +namespace LuaScript +{ + internal abstract class LuaScriptException(string message, Exception? inner = null) : Exception(message, inner); +} diff --git a/LuaScript/LuaScriptExceptions.cs b/LuaScript/LuaScriptExceptions.cs deleted file mode 100644 index 021dd8d..0000000 --- a/LuaScript/LuaScriptExceptions.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace LuaScript -{ - internal abstract class LuaScriptException(string message, Exception? inner = null) : Exception(message, inner); - - internal sealed class LuaScriptCompilationException(string message, Exception? inner = null) : LuaScriptException(message, inner); - - internal sealed class LuaScriptRuntimeException(string message, Exception? inner = null) : LuaScriptException(message, inner); - - internal sealed class LuaScriptTimeoutException(string message, Exception? inner = null) : LuaScriptException(message, inner); -} diff --git a/LuaScript/LuaScriptRuntimeException.cs b/LuaScript/LuaScriptRuntimeException.cs new file mode 100644 index 0000000..81174af --- /dev/null +++ b/LuaScript/LuaScriptRuntimeException.cs @@ -0,0 +1,6 @@ +using System; + +namespace LuaScript +{ + internal sealed class LuaScriptRuntimeException(string message, Exception? inner = null) : LuaScriptException(message, inner); +} diff --git a/LuaScript/LuaScriptTimeoutException.cs b/LuaScript/LuaScriptTimeoutException.cs new file mode 100644 index 0000000..9115023 --- /dev/null +++ b/LuaScript/LuaScriptTimeoutException.cs @@ -0,0 +1,6 @@ +using System; + +namespace LuaScript +{ + internal sealed class LuaScriptTimeoutException(string message, Exception? inner = null) : LuaScriptException(message, inner); +}