Files
StoreWeb/StoreHub.KJDWebService/Commons/Extension/Extension.Exception.cs
T
2026-08-21 16:46:36 +08:00

19 lines
418 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NaiBa.Util.Extension
{
public static partial class Extensions
{
public static Exception GetOriginalException(this Exception ex)
{
if (ex.InnerException == null) return ex;
return ex.InnerException.GetOriginalException();
}
}
}