Exception: Lore::Exceptions::Cache_Write_Exception

Inherits:
Exception
  • Object
show all
Defined in:
lib/lore/exceptions/cache_exception.rb

Overview

class

Instance Method Summary collapse

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