DragonECS-Unity/src/Internal/Utils/Throw.cs

21 lines
455 B
C#
Raw Normal View History

2024-12-08 15:38:04 +08:00
using System;
namespace DCFApixels.DragonECS.Unity.Internal
{
internal static class Throw
{
internal static void ArgumentOutOfRange()
{
throw new ArgumentOutOfRangeException();
}
2025-03-21 16:51:03 +08:00
internal static void Argument(string message)
{
throw new ArgumentException(message);
}
internal static void Exception()
{
throw new Exception();
}
2024-12-08 15:38:04 +08:00
}
}