20 lines
367 B
C#
Raw Normal View History

2025-09-19 19:43:49 +05:00
using System;
namespace VContainer.Unity
{
sealed class EntryPointExceptionHandler
{
readonly Action<Exception> handler;
public EntryPointExceptionHandler(Action<Exception> handler)
{
this.handler = handler;
}
public void Publish(Exception ex)
{
handler.Invoke(ex);
}
}
}