Exception: WelltreatStoreFramework::StoreApp::ControllerNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/welltreat_store_framework/store_app.rb

Overview

Declare exceptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_c_name) ⇒ ControllerNotFound

Returns a new instance of ControllerNotFound.



8
9
10
11
# File 'lib/welltreat_store_framework/store_app.rb', line 8

def initialize(_c_name)
  super "Controller - #{_c_name} not found."
  self.controller_name = _c_name
end

Instance Attribute Details

#controller_nameObject

Returns the value of attribute controller_name.



6
7
8
# File 'lib/welltreat_store_framework/store_app.rb', line 6

def controller_name
  @controller_name
end