<PackageReference Include="Castle.Windsor" Version="2.5.4" />

KernelException

public class KernelException : Exception
Exception threw by Kernel operations that failed for some reason.
using System; using System.Runtime.Serialization; namespace Castle.MicroKernel { [Serializable] public class KernelException : Exception { public KernelException(string message) : base(message) { } public KernelException(string message, Exception innerException) : base(message, innerException) { } public KernelException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }