Exception: EvalIn::ConnectionError
- Inherits:
-
EvalInError
- Object
- RuntimeError
- EvalInError
- EvalIn::ConnectionError
- Defined in:
- lib/eval-in/exceptions.rb
Overview
Raised when an error occurs during connection.
Instance Method Summary collapse
-
#initialize(error) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(error) ⇒ ConnectionError
Returns a new instance of ConnectionError.
10 11 12 |
# File 'lib/eval-in/exceptions.rb', line 10 def initialize(error) super "Connection error: #{error}" end |