InvalidRegistrationException
Represents an exception the container throws when it detects an invalid registration.
using System;
namespace Stashbox.Exceptions
{
public class InvalidRegistrationException : ExceptionBaseException
{
public InvalidRegistrationException(Type type, string message, Exception innerException = null)
: base(type, "Invalid registration with type " + type.FullName + ". Details: " + message, innerException)
{
}
}
}