Example #1
0
 /// <summary>
 /// Returns an exception with a randomly generated message.
 /// </summary>
 public Exception GenerateException() =>
 _context.GenerateException();
Example #2
0
 /// <summary>
 /// Returns an exception with a randomly generated message.
 /// </summary>
 public static Exception GenerateException() =>
 Context.GenerateException();