Exception: Bolt::PAL::YamlPlan::Step::StepError
- Defined in:
- lib/bolt/pal/yaml_plan/step.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(message, name, step_number) ⇒ StepError
constructor
A new instance of StepError.
Methods inherited from Error
#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(message, name, step_number) ⇒ StepError
Returns a new instance of StepError.
25 26 27 28 29 30 |
# File 'lib/bolt/pal/yaml_plan/step.rb', line 25 def initialize(, name, step_number) identifier = name ? name.inspect : "number #{step_number}" error = "Parse error in step #{identifier}: \n #{}" super(error, 'bolt/invalid-plan') end |