Exception: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Exceptions::AliasInputMethodIsNotDefinedInContainer

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(method:, container:) ⇒ void

This method returns an undefined value.



69
70
71
72
73
74
75
76
77
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb', line 69

def initialize_with_kwargs(method:, container:)
  message = <<~TEXT
    Alias `in` method `#{method.name}` is NOT defined in `#{container.klass}`.

    Did you forget to define it?
  TEXT

  initialize(message)
end