Class: EventMachine::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



152
153
154
# File 'lib/em-simple_telnet.rb', line 152

def command
  @command
end

#hostnameObject

hostname this timeout comes from



149
150
151
# File 'lib/em-simple_telnet.rb', line 149

def hostname
  @hostname
end