Exception: Flame::Errors::RouteNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Flame::Errors::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.
59 60 61 62 |
# File 'lib/flame/errors.rb', line 59 def initialize(ctrl, method) @ctrl = ctrl @method = method end |
Instance Method Details
#message ⇒ Object
64 65 66 67 |
# File 'lib/flame/errors.rb', line 64 def "Route with controller '#{@ctrl}' and method '#{@method}'" \ ' not found in application routes' end |