Exception: MarchHare::ChannelLevelException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, channel_close) ⇒ ChannelLevelException

Returns a new instance of ChannelLevelException.



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

def initialize(message, channel_close)
  super(message)

  @channel_close = channel_close
end

Instance Attribute Details

#channel_closeObject (readonly)

Returns the value of attribute channel_close.



26
27
28
# File 'lib/march_hare/exceptions.rb', line 26

def channel_close
  @channel_close
end