using System;
namespace Svelto.ECS
{
public class ECSException : Exception
{
public ECSException(string message):base("".FastConcat(message, ""))
{}
public ECSException(string message, Exception innerE):base("".FastConcat(message, ""), innerE)
{}
public ECSException(string message, Type entityComponentType, Type type) :
base(message.FastConcat(" entity view: '", entityComponentType.Name, "', field: '", type.Name))
{
}
public ECSException(string message, Type entityComponentType) :
base(message.FastConcat(" entity view: ", entityComponentType.Name))
{
}
}
}