Exception: Hg::Router::ActionNotRegisteredError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hg/router.rb

Overview

Error thrown when an action isn't recognized by the router.

Instance Method Summary collapse

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