Lean  $LEAN_TAG$
TooManyFailedAttemptsException.cs
2 {
3  /// <summary>
4  /// Exception thrown when multiple attempts to generate a valid random value end in failure
5  /// </summary>
7  {
8  public TooManyFailedAttemptsException(string method, int attempts)
9  : base($"Failed to generate a valid value for '{method}' after {attempts} attempts.")
10  {
11  }
12  }
13 }