Exception: Hanami::Router::NotRoutableEndpointError
- Defined in:
- lib/hanami/router/errors.rb
Overview
Error raised when a recognized route is called but has no callable endpoint.
Instance Method Summary collapse
-
#initialize(env) ⇒ NotRoutableEndpointError
constructor
private
A new instance of NotRoutableEndpointError.
Constructor Details
#initialize(env) ⇒ NotRoutableEndpointError
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 NotRoutableEndpointError.
80 81 82 |
# File 'lib/hanami/router/errors.rb', line 80 def initialize(env) super(%(Cannot find routable endpoint for: #{env[::Rack::REQUEST_METHOD]} #{env[::Rack::PATH_INFO]})) end |