class Hanami::Routes::NotCallableEndpointError
Error raised when a given routes endpoint does not implement the ‘#call` interface required for Rack.
@api public @since 2.0.0
Public Class Methods
new(endpoint)
click to toggle source
@api private
Calls superclass method
# File lib/hanami/routes.rb, line 58 def initialize(endpoint) super("#{endpoint.inspect} is not compatible with Rack. Please make sure it implements #call.") end