Exception: Bolt::ApplyError

Inherits:
Error
  • Object
show all
Defined in:
lib/bolt/error.rb

Instance Attribute Summary

Attributes inherited from Error

#details, #error_code, #issue_code, #kind

Instance Method Summary collapse

Methods inherited from Error

#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task

Constructor Details

#initialize(target, msg) ⇒ ApplyError

Returns a new instance of ApplyError.


153
154
155
# File 'lib/bolt/error.rb', line 153

def initialize(target, msg)
  super("Apply failed to compile for #{target}: #{msg}", 'bolt/apply-error')
end