Exception: Lore::Exceptions::Cache_Write_Exception
- Defined in:
- lib/lore/exceptions/cache_exception.rb
Overview
class
Instance Method Summary collapse
-
#initialize(klass_name, controller, mode, keys) ⇒ Cache_Write_Exception
constructor
A new instance of Cache_Write_Exception.
Constructor Details
#initialize(klass_name, controller, mode, keys) ⇒ Cache_Write_Exception
Returns a new instance of Cache_Write_Exception.
19 20 21 22 23 24 |
# File 'lib/lore/exceptions/cache_exception.rb', line 19 def initialize(klass_name, controller, mode, keys) @message = 'Error when trying to cache [' << Lore::Cache.store_name(klass_name, controller, mode, keys) << ']' @message += '(is caching enabled for this controller?)' end |