Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
333B

  1. using System;
  2. namespace Svelto.ECS
  3. {
  4. public class EntityNotFoundException : Exception
  5. {
  6. public EntityNotFoundException(EGID entityEGID, Type entityType) : base(
  7. $"entity of type '{entityType}' with ID '{entityEGID.entityID}', group '{entityEGID.groupID.ToName()}' not found!")
  8. {
  9. }
  10. }
  11. }