Exception: VisibilizeGenerator::AttemptsExceededError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/visibilize/generator.rb

Overview

Raised when the maximum number of attempts to generate a unique value is exceeded

Instance Method Summary collapse

Constructor Details

#initialize(attempts) ⇒ AttemptsExceededError

Returns a new instance of AttemptsExceededError.



16
17
18
# File 'lib/visibilize/generator.rb', line 16

def initialize(attempts)
  super("Visibilize Error: Failed to generate a unique value after #{attempts} attempts")
end