Exception: Flame::RouteNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Flame::RouteNotFoundError
- Defined in:
- lib/flame/errors.rb
Overview
Error for Flame::Router.find_path
Instance Method Summary collapse
-
#initialize(ctrl, method) ⇒ RouteNotFoundError
constructor
A new instance of RouteNotFoundError.
- #message ⇒ Object
Constructor Details
#initialize(ctrl, method) ⇒ RouteNotFoundError
Returns a new instance of RouteNotFoundError.
58 59 60 61 |
# File 'lib/flame/errors.rb', line 58 def initialize(ctrl, method) @ctrl = ctrl @method = method end |
Instance Method Details
#message ⇒ Object
63 64 65 66 |
# File 'lib/flame/errors.rb', line 63 def "Route with controller '#{@ctrl}' and method '#{@method}'" \ ' not found in application routes' end |