UniRx 에셋 추가
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace UniRx.InternalUtil
|
||||
{
|
||||
using System;
|
||||
|
||||
internal static class ExceptionExtensions
|
||||
{
|
||||
public static void Throw(this Exception exception)
|
||||
{
|
||||
#if (NET_4_6 || NET_STANDARD_2_0)
|
||||
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Capture(exception).Throw();
|
||||
#endif
|
||||
throw exception;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user