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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(container:, method:) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

Since:

  • 1.0.0



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