DragonECS-Unity/src/Internal/Utils/Throw.cs
2025-03-21 16:51:03 +08:00

21 lines
455 B
C#

using System;
namespace DCFApixels.DragonECS.Unity.Internal
{
internal static class Throw
{
internal static void ArgumentOutOfRange()
{
throw new ArgumentOutOfRangeException();
}
internal static void Argument(string message)
{
throw new ArgumentException(message);
}
internal static void Exception()
{
throw new Exception();
}
}
}