Exception: Cod::ConnectionLost
- Inherits:
-
StandardError
- Object
- StandardError
- Cod::ConnectionLost
- Defined in:
- lib/cod.rb
Overview
Indicates that a standing connection was lost and must be reconnected.
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ ConnectionLost
constructor
A new instance of ConnectionLost.
Constructor Details
#initialize(msg = nil) ⇒ ConnectionLost
Returns a new instance of ConnectionLost.
180 181 182 |
# File 'lib/cod.rb', line 180 def initialize(msg=nil) super msg || "Connection lost." end |