Exception: Bolt::UnknownTransportError
- Defined in:
- lib/bolt/config.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(transport, uri = nil) ⇒ UnknownTransportError
constructor
A new instance of UnknownTransportError.
Methods inherited from Error
#msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(transport, uri = nil) ⇒ UnknownTransportError
Returns a new instance of UnknownTransportError.
27 28 29 30 |
# File 'lib/bolt/config.rb', line 27 def initialize(transport, uri = nil) msg = uri.nil? ? "Unknown transport #{transport}" : "Unknown transport #{transport} found for #{uri}" super(msg, 'bolt/unknown-transport') end |