Exception: MarchHare::ConnectionLevelException

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

Direct Known Subclasses

ChannelError, FrameError, InvalidCommand, UnexpectedFrame

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (ConnectionLevelException) initialize(message, connection_close)

A new instance of ConnectionLevelException



32
33
34
35
36
# File 'lib/march_hare/exceptions.rb', line 32

def initialize(message, connection_close)
  super(message)

  @connection_close = connection_close
end

Instance Attribute Details

- (Object) connection_close (readonly)

Returns the value of attribute connection_close



30
31
32
# File 'lib/march_hare/exceptions.rb', line 30

def connection_close
  @connection_close
end