CompositionRootNotFoundException
using System;
using System.Reflection;
namespace Stashbox.Exceptions
{
public class CompositionRootNotFoundException : Exception
{
public Assembly Assembly { get; }
public CompositionRootNotFoundException(Assembly assembly, Exception innerException = null)
: base("No ICompositionRoot found in the given assembly: " + assembly.FullName, innerException)
{
Assembly = assembly;
}
}
}