Class: Chef::Provisioning::Transport::SSH::InitialConnectTimeout

Inherits:
Timeout::Error
  • Object
show all
Defined in:
lib/chef/provisioning/transport/ssh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(original_error) ⇒ InitialConnectTimeout


269
270
271
272
# File 'lib/chef/provisioning/transport/ssh.rb', line 269

def initialize(original_error)
  super(original_error.message)
  @original_error = original_error
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error


274
275
276
# File 'lib/chef/provisioning/transport/ssh.rb', line 274

def original_error
  @original_error
end