Exception: Flame::Errors::ControllerNotFoundError

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

Overview

Error for not found controller by name in namespace

Instance Method Summary collapse

Constructor Details

#initialize(controller_name, namespace) ⇒ ControllerNotFoundError

Create a new instance of error

Parameters:

  • controller_name (Symbol, String)

    name of controller which not found

  • namespace (Module)

    namespace for which controller not found



12
13
14
15
16
# File 'lib/flame/errors/controller_not_found_error.rb', line 12

def initialize(controller_name, namespace)
	super(
		"Controller '#{controller_name}' not found for '#{namespace}'"
	)
end