Exception: MarchHare::ConnectionClosedException

Inherits:
Exception
  • Object
show all
Defined in:
lib/march_hare/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = '') ⇒ ConnectionClosedException

Returns a new instance of ConnectionClosedException.



20
21
22
# File 'lib/march_hare/exceptions.rb', line 20

def initialize(message='')
  super("Connection was explicitly closed and cannot be reopened. Create a new Connection instead. #{message}")
end