Exception: ConvenientService::Support::Middleware::StackBuilder::Entities::Builders::Rack::Exceptions::MissingMiddleware

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/support/middleware/stack_builder/entities/builders/rack/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(middleware:) ⇒ void

This method returns an undefined value.

Parameters:

  • middleware (#call<Hash>)


16
17
18
19
20
21
22
# File 'lib/convenient_service/support/middleware/stack_builder/entities/builders/rack/exceptions.rb', line 16

def initialize_with_kwargs(middleware:)
  message = <<~TEXT
    Middleware `#{middleware.inspect}` is NOT found in the stack.
  TEXT

  initialize(message)
end