Update Exceptions.cs

This commit is contained in:
Mikhail 2024-01-26 18:59:07 +08:00
parent 9ae92c7cdf
commit 0356302d90

View File

@ -2,10 +2,9 @@
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace DCFApixels.DragonECS
namespace DCFApixels.DragonECS.Internal
{
namespace Internal
{
internal static class Throw
{
[MethodImpl(MethodImplOptions.NoInlining)]
@ -83,8 +82,10 @@ namespace DCFApixels.DragonECS
throw new EcsFrameworkException($"The {entity} is not alive.");
}
}
}
}
namespace DCFApixels.DragonECS
{
[Serializable]
public class EcsFrameworkException : Exception
{