Exception: MarchHare::ChannelLevelException

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

Direct Known Subclasses

AccessRefused, NotFound, PreconditionFailed, ResourceLocked

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (ChannelLevelException) initialize(message, channel_close)

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

- (Object) channel_close (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