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
#add_filelineno, #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.
14 15 16 17 |
# File 'lib/bolt/config.rb', line 14 def initialize(transport, uri = nil) msg = uri.nil? ? "Unknown transport #{transport}" : "Unknown transport #{transport} found for #{uri}" super(msg, 'bolt/unknown-transport') end |