Exception: AMQP::Openable::ImproperStatusError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- AMQP::Openable::ImproperStatusError
- Defined in:
- lib/amqp/openable.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ ImproperStatusError
constructor
A new instance of ImproperStatusError.
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 |