Initial commit: Unity WordConnect project
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user