mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00
11 lines
306 B
C#
11 lines
306 B
C#
namespace Milimoe.FunGame.Core.Library.Exception
|
|
{
|
|
public static class ExceptionExtension
|
|
{
|
|
public static string GetErrorInfo(this System.Exception e)
|
|
{
|
|
return (e.InnerException != null) ? $"InnerExceoption: {e.InnerException}\n{e}" : e.ToString();
|
|
}
|
|
}
|
|
}
|