CircularDependencyException
Represents the exception which will be threw when a circular dependency found.
using System;
namespace Stashbox.Exceptions
{
public class CircularDependencyException : ExceptionBaseException
{
public CircularDependencyException(Type type, Exception innerException = null)
: base(type, "Circular dependency detected during the resolution of " + type.FullName + ".", innerException)
{
}
}
}