NUnit.Framework.ExceptionExtensions
If Data throws, returns "SomeException was thrown by the Exception.Data property."
If Message throws, returns "SomeException was thrown by the Exception.Message
property."
Returns StackTrace filtered by filter, or unfiltered if
filter is null. If StackTrace throws,
returns "SomeException was thrown by the Exception.StackTrace property." unfiltered.
See also GetCallerStackTraceWithoutThrowing.
Sets the result state and message of the current test before the exception is thrown,
so code that catches the exception can read them from Result.