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

KernelException

public class KernelException : Exception
Exception threw by Kernel operations that failed for some reason.
using Castle.Core.Internal; using System; namespace Castle.MicroKernel { [Serializable] public class KernelException : Exception { public KernelException(string message) : base(message) { this.SetUp(); } public KernelException(string message, Exception innerException) : base(message, innerException) { this.SetUp(); } } }