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

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:) ⇒ void

This method returns an undefined value.



18
19
20
21
22
23
24
25
26
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb', line 18

def initialize_with_kwargs(method:)
  message = <<~TEXT
    Organizer for method `:#{method.name}` is NOT assigned yet.

    Did you forget to set it?
  TEXT

  initialize(message)
end