Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.4.0-preview-602" />

 CircularDependencyException

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