Exception: AMQP::Openable::ImproperStatusError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/amqp/openable.rb

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ImproperStatusError

Returns a new instance of ImproperStatusError



6
7
8
# File 'lib/amqp/openable.rb', line 6

def initialize(value)
  super("Value #{value.inspect} isn't permitted. Choose one of: #{AMQP::Openable::VALUES.inspect}")
end