Exception: ConvenientService::Support::Middleware::StackBuilder::Exceptions::NotSupportedBackend

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(backend:) ⇒ void

This method returns an undefined value.

Parameters:

  • backend (Symbol)


13
14
15
16
17
18
19
20
21
# File 'lib/convenient_service/support/middleware/stack_builder/exceptions.rb', line 13

def initialize_with_kwargs(backend:)
  message = <<~TEXT
    Middleware backend `#{backend.inspect}` is NOT supported.

    Supported backends are #{printable_backends}.
  TEXT

  initialize(message)
end