Exception: ConvenientService::Support::Counter::Exceptions::ValueAfterIncrementIsGreaterThanMaxValue Private
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::Support::Counter::Exceptions::ValueAfterIncrementIsGreaterThanMaxValue
- Defined in:
- lib/convenient_service/support/counter.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(n:, current_value:, max_value:) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/convenient_service/support/counter.rb', line 27 def initialize_with_kwargs(n:, current_value:, max_value:) = <<~TEXT Value after increment by `#{n}` is greater than the max value. Current value is `#{current_value}`. Max value is `#{max_value}`. TEXT initialize() end |