Exception: Bolt::FileError
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(msg, path) ⇒ FileError
constructor
A new instance of FileError.
Methods inherited from Error
#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(msg, path) ⇒ FileError
Returns a new instance of FileError.
190 191 192 |
# File 'lib/bolt/error.rb', line 190 def initialize(msg, path) super(msg, 'bolt/file-error', { "path" => path }) end |