mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-23 12:39:35 +08:00
18 lines
455 B
C#
18 lines
455 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Milimoe.FunGame.Core.Entity;
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|