Exception: Granite::Form::TooManyObjects
- Defined in:
- lib/granite/form/errors.rb
Instance Method Summary collapse
-
#initialize(limit, actual_size) ⇒ TooManyObjects
constructor
A new instance of TooManyObjects.
Constructor Details
#initialize(limit, actual_size) ⇒ TooManyObjects
Returns a new instance of TooManyObjects.
37 38 39 |
# File 'lib/granite/form/errors.rb', line 37 def initialize(limit, actual_size) super("Maximum #{limit} objects are allowed. Got #{actual_size} objects instead.") end |