📅  最后修改于: 2022-03-11 14:49:23.840000             🧑  作者: Mango
public static string GetFullMessage(this Exception ex)
{
return ex.InnerException == null
? ex.Message
: ex.Message + " --> " + ex.InnerException.GetFullMessage();
}