2023-02-21 23:19:47 +08:00

11 lines
303 B
C#

namespace Milimoe.FunGame.Core.Library.Exception
{
public static class ExceptionHelper
{
public static string GetErrorInfo(this System.Exception e)
{
return (e.InnerException != null) ? $"InnerExceoption: {e.InnerException}\n{e}" : e.ToString();
}
}
}