Exception: Hanami::Router::MissingRouteError
- Defined in:
- lib/hanami/router/errors.rb
Overview
Error raised when a named route could not be found.
Instance Method Summary collapse
-
#initialize(name) ⇒ MissingRouteError
constructor
private
A new instance of MissingRouteError.
Constructor Details
#initialize(name) ⇒ MissingRouteError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of MissingRouteError.
36 37 38 |
# File 'lib/hanami/router/errors.rb', line 36 def initialize(name) super("No route could be found with name #{name.inspect}") end |