Exception: InstantCache::CounterIntegerOnly
- Defined in:
- lib/instantcache/exceptions.rb
Overview
Counter variables are only permitted to be frobbed with integers. We gritch if anything else is attempted.
Constant Summary collapse
- MessageFormat =
raise CounterIntegerOnly=> InstantCache::CounterIntegerOnly: variables declared as counters are integer-onlyraise CounterIntegerOnly.new('name')=> InstantCache::CounterIntegerOnly: variables declared as counters are integer-only: name [ 'variables declared as counters are integer-only', 'variables declared as counters are integer-only: %s', ]
Method Summary
Methods inherited from Exception
Constructor Details
This class inherits a constructor from InstantCache::Exception