Exception: ConvenientService::Service::Plugins::CanHaveConnectedSteps::Exceptions::ElseIfAfterElse

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(container:, method:) ⇒ void

This method returns an undefined value.

Parameters:



138
139
140
141
142
143
144
145
146
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/exceptions.rb', line 138

def initialize_with_kwargs(container:, method:)
  printable_container = Utils::Class.display_name(container)

  message = <<~TEXT
    `#{method}` is called after `else_group` in `#{printable_container}`.
  TEXT

  initialize(message)
end