Exception: Bolt::ApplyInventory::InvalidFunctionCall
- Defined in:
- lib/bolt/apply_inventory.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(function) ⇒ InvalidFunctionCall
constructor
A new instance of InvalidFunctionCall.
Methods inherited from Error
#msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(function) ⇒ InvalidFunctionCall
Returns a new instance of InvalidFunctionCall.
10 11 12 13 |
# File 'lib/bolt/apply_inventory.rb', line 10 def initialize(function) super("The function '#{function}' is not callable within an apply block", 'bolt.inventory/invalid-function-call') end |