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

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

This method returns an undefined value.

Parameters:

  • method_name (Symbol)


49
50
51
52
53
54
55
56
57
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb', line 49

def initialize_with_kwargs(method_name:)
  message = <<~TEXT
    `out` method `#{method_name}` is called before its corresponding step is completed.

    Maybe it makes sense to change steps order?
  TEXT

  initialize(message)
end