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); +}