mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
Update Exceptions.cs
This commit is contained in:
parent
9ae92c7cdf
commit
0356302d90
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user