Exception: Expect4r::ConnectionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Expect4r::ConnectionError
- Defined in:
- lib/expect/io.rb
Instance Method Summary collapse
- #err_msg ⇒ Object
-
#initialize(*args) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(*args) ⇒ ConnectionError
Returns a new instance of ConnectionError.
55 56 57 |
# File 'lib/expect/io.rb', line 55 def initialize(*args) @output = args[0] end |
Instance Method Details
#err_msg ⇒ Object
58 59 60 |
# File 'lib/expect/io.rb', line 58 def err_msg "Connection Error: #{@output}" end |