System.Diagnostics.ExceptionExtensions public static class ExceptionExtensions Documentation Code public static T Demystify<T>(this T exception) where T : Exception public static string ToStringDemystified(this Exception exception)