<PackageReference Include="NUnit" Version="4.2.2" />

NUnit.Framework.ExceptionExtensions

static class ExceptionExtensions
namespace NUnit.Framework { internal static class ExceptionExtensions { public static string GetStackTraceWithoutThrowing(this Exception exception); public static string GetMessageWithoutThrowing(this Exception exception); public static Result<IDictionary> GetDataWithoutThrowing(this Exception exception); } }