Exception: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Exceptions::StepResultDataNotExistingAttribute

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(key:, step:) ⇒ void



33
34
35
36
37
38
39
40
41
42
43
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/exceptions.rb', line 33

def initialize_with_kwargs(key:, step:)
  message = "    Step `\#{step.printable_action}` result does NOT return `:\#{key}` data attribute.\n\n    Maybe there is a typo in `out` definition?\n\n    Or `success` of `\#{step.printable_action}` accepts a wrong key?\n  TEXT\n\n  initialize(message)\nend\n"