Exception: Hanami::Router::MissingEndpointError
- Defined in:
- lib/hanami/router/errors.rb
Overview
Error raised when no endpoint is specified for a route.
Endpoints must be specified by ‘to:` or a block.
Instance Method Summary collapse
-
#initialize(path) ⇒ MissingEndpointError
constructor
private
A new instance of MissingEndpointError.
Constructor Details
#initialize(path) ⇒ MissingEndpointError
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 MissingEndpointError.
21 22 23 |
# File 'lib/hanami/router/errors.rb', line 21 def initialize(path) super("missing endpoint for #{path.inspect}") end |