Exception: Hg::Router::ActionNotRegisteredError
- Inherits:
-
StandardError
- Object
- StandardError
- Hg::Router::ActionNotRegisteredError
- Defined in:
- lib/hg/router.rb
Overview
Error thrown when an action isn't recognized by the router.
Instance Method Summary collapse
-
#initialize(action) ⇒ ActionNotRegisteredError
constructor
A new instance of ActionNotRegisteredError.
Constructor Details
#initialize(action) ⇒ ActionNotRegisteredError
Returns a new instance of ActionNotRegisteredError.
67 68 69 |
# File 'lib/hg/router.rb', line 67 def initialize(action) super("No route registered for action #{action}") end |