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

Returns a new instance of InitialConnectTimeout.



314
315
316
317
# File 'lib/chef/provisioning/transport/ssh.rb', line 314

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.



319
320
321
# File 'lib/chef/provisioning/transport/ssh.rb', line 319

def original_error
  @original_error
end