Exception: InstantCache::SharedOnly
- Defined in:
- lib/instantcache/exceptions.rb
Overview
User-supplied names are only permitted for shared variables; otherwise private ones may get inadvertently shared and bollixed.
Constant Summary collapse
- MessageFormat =
raise SharedOnly=> InstantCache::SharedOnly: custom names are only permitted for shared variablesraise SharedOnly.new('name')=> InstantCache::SharedOnly: custom names are only permitted for shared variables; 'name' is labelled as private [ 'custom names are only permitted for shared variables', ('custom names are only permitted for shared variables; ' + "'%s' is labelled as private"), ]
Method Summary
Methods inherited from Exception
Constructor Details
This class inherits a constructor from InstantCache::Exception