Class: Protocols::SimpleTelnet::TimeoutError

Inherits:
Timeout::Error
  • Object
show all
Defined in:
lib/em-simple_telnet.rb

Overview

Extens Timeout::Error by the attributes hostname and command so one knows where the exception comes from and why.

Instance Attribute Summary collapse

Instance Attribute Details

#commandObject

command that caused this timeout


119
120
121
# File 'lib/em-simple_telnet.rb', line 119

def command
  @command
end

#hostnameObject

hostname this timeout comes from


116
117
118
# File 'lib/em-simple_telnet.rb', line 116

def hostname
  @hostname
end