Stashbox by Peter Csajtai

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

 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.