Exception: Cod::ConnectionLost

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cod.rb

Overview

Indicates that a standing connection was lost and must be reconnected.

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ ConnectionLost

Returns a new instance of ConnectionLost.



166
167
168
# File 'lib/cod.rb', line 166

def initialize(msg=nil)
  super msg || "Connection lost."
end