Class: SimpleTelnet::Connection::TimeoutError
- Inherits:
-
Timeout::Error
- Object
- Timeout::Error
- SimpleTelnet::Connection::TimeoutError
- 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
-
#command ⇒ Object
command that caused this timeout.
-
#hostname ⇒ Object
hostname this timeout comes from.
Instance Attribute Details
#command ⇒ Object
command that caused this timeout
139 140 141 |
# File 'lib/em-simple_telnet.rb', line 139 def command @command end |
#hostname ⇒ Object
hostname this timeout comes from
136 137 138 |
# File 'lib/em-simple_telnet.rb', line 136 def hostname @hostname end |