Method: Hanami::Router::NotFoundError#initialize
- Defined in:
- lib/hanami/extensions/router/errors.rb
#initialize(env) ⇒ NotFoundError
Returns a new instance of NotFoundError.
21 22 23 24 25 26 |
# File 'lib/hanami/extensions/router/errors.rb', line 21 def initialize(env) @env = env = "No route found for #{env["REQUEST_METHOD"]} #{env["PATH_INFO"]}" super() end |