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


22
23
24
25
26
# File 'lib/march_hare/exceptions.rb', line 22

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


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

def channel_close
  @channel_close
end