Exception: Bolt::NoImplementationError
- Defined in:
- lib/bolt/task.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(target, task) ⇒ NoImplementationError
constructor
A new instance of NoImplementationError.
Methods inherited from Error
#msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(target, task) ⇒ NoImplementationError
Returns a new instance of NoImplementationError.
5 6 7 8 |
# File 'lib/bolt/task.rb', line 5 def initialize(target, task) msg = "No suitable implementation of #{task.name} for #{target.name}" super(msg, 'bolt/no-implementation') end |