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