ResolutionFailedException
Represents the exception the container throws when a service resolution is failed.
using System;
namespace Stashbox.Exceptions
{
public class ResolutionFailedException : ExceptionBaseException
{
public ResolutionFailedException(Type type, string message = "Service is not registered or unresolvable type requested.", Exception innerException = null)
: base(type, "Cannot resolve type " + type.FullName + "." + Environment.NewLine + message, innerException)
{
}
}
}