Exception: Xhive::Router::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Xhive::Router::Error
- Defined in:
- lib/xhive/router/error.rb
Instance Method Summary collapse
-
#initialize(action) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
Constructor Details
#initialize(action) ⇒ Error
Returns a new instance of Error.
4 5 6 7 |
# File 'lib/xhive/router/error.rb', line 4 def initialize(action) @action = action super end |
Instance Method Details
#message ⇒ Object
9 10 11 |
# File 'lib/xhive/router/error.rb', line 9 def "No route was found for action #{@action}" end |