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

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(key:, step:) ⇒ void

This method returns an undefined value.



211
212
213
214
215
216
217
218
219
220
221
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb', line 211

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