using System; namespace VContainer.Unity { sealed class EntryPointExceptionHandler { readonly Action handler; public EntryPointExceptionHandler(Action handler) { this.handler = handler; } public void Publish(Exception ex) { handler.Invoke(ex); } } }