Exception: AMQ::Client::Openable::ImproperStatusError

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

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ImproperStatusError

Returns a new instance of ImproperStatusError.



9
10
11
# File 'lib/amq/client/openable.rb', line 9

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