Exception: Hanami::Router::InvalidRouteExpansionError
- Defined in:
- lib/hanami/router/errors.rb
Overview
Error raised when variables given for route cannot be expanded into a full path.
Instance Method Summary collapse
-
#initialize(name, message) ⇒ InvalidRouteExpansionError
constructor
private
A new instance of InvalidRouteExpansionError.
Constructor Details
#initialize(name, message) ⇒ InvalidRouteExpansionError
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 InvalidRouteExpansionError.
51 52 53 |
# File 'lib/hanami/router/errors.rb', line 51 def initialize(name, ) super("No route could be generated for `#{name.inspect}': #{}") end |