Entitas  0.40.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
ContextInfoException.cs
1 namespace Entitas {
2 
4 
5  public ContextInfoException(IContext context, ContextInfo contextInfo)
6  : base("Invalid ContextInfo for '" + context + "'!\nExpected " +
7  context.totalComponents + " componentName(s) but got " +
8  contextInfo.componentNames.Length + ":",
9  string.Join("\n", contextInfo.componentNames)) {
10  }
11  }
12 }
Base exception used by Entitas.