Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.4.2" />

 ResolutionFailedException

Represents the exception the container throws when a service resolution is failed.
public Type Type { get; }

The type the container is currently resolving.

public ResolutionFailedException(Type type, object name = null, string message = "Service is not registered properly or unresolvable type requested.", Exception innerException = null)

Constructs a ResolutionFailedException.