Exception: ConvenientService::Support::Middleware::StackBuilder::Entities::Builders::Custom::Exceptions::MissingMiddleware Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(middleware:) ⇒ void

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.

This method returns an undefined value.

Parameters:

  • middleware (#call<Hash>)

Since:

  • 1.0.0



21
22
23
24
25
26
27
# File 'lib/convenient_service/support/middleware/stack_builder/entities/builders/custom/exceptions.rb', line 21

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

  initialize(message)
end