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 not registered or unresolvable type requested.", Exception innerException = null)
: base(type, "Could not resolve type " + type.FullName + "." + Environment.NewLine + "Reason: " + message, innerException)
{
}
}
}