Exception: Rack::AcornCache::AppException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/acorn_cache/app_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(caught_exception) ⇒ AppException

Returns a new instance of AppException.



5
6
7
# File 'lib/acorn_cache/app_exception.rb', line 5

def initialize(caught_exception)
  @caught_exception = caught_exception
end

Instance Attribute Details

#caught_exceptionObject (readonly)

Returns the value of attribute caught_exception.



3
4
5
# File 'lib/acorn_cache/app_exception.rb', line 3

def caught_exception
  @caught_exception
end