Exception: Kitchen::Transport::TransportFailed
- Inherits:
-
Kitchen::TransientFailure
- Object
- StandardError
- StandardError
- Kitchen::TransientFailure
- Kitchen::Transport::TransportFailed
- Defined in:
- lib/kitchen/transport/base.rb
Overview
Wrapped exception for any internally raised Transport errors.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
Attributes inherited from StandardError
Instance Method Summary collapse
-
#initialize(message, exit_code = nil) ⇒ TransportFailed
constructor
A new instance of TransportFailed.
Methods included from Error
formatted_backtrace, formatted_exception, formatted_trace, warn_on_stderr
Constructor Details
#initialize(message, exit_code = nil) ⇒ TransportFailed
Returns a new instance of TransportFailed.
34 35 36 37 |
# File 'lib/kitchen/transport/base.rb', line 34 def initialize(, exit_code = nil) @exit_code = exit_code super() end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
32 33 34 |
# File 'lib/kitchen/transport/base.rb', line 32 def exit_code @exit_code end |