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

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.



86
87
88
89
90
91
92
93
94
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb', line 86

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

    Did you forget to remove it?
  TEXT

  initialize(message)
end