Exception: TypedCache::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/typed_cache/errors.rb

Overview

Base error class for TypedCache operations

Direct Known Subclasses

CacheMissError, StoreError, TypeError

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Error

Returns a new instance of Error.



7
8
9
10
# File 'lib/typed_cache/errors.rb', line 7

def initialize(*args)
  super(*args)
  set_backtrace(caller(2))
end