Exception: AMQ::Protocol::FrameTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/amq/protocol/exceptions.rb

Constant Summary

Constants inherited from Error

Error::DEFAULT_MESSAGE

Instance Method Summary collapse

Methods inherited from Error

[], inherited, subclasses_with_values

Constructor Details

#initialize(types) ⇒ FrameTypeError

Returns a new instance of FrameTypeError.



29
30
31
# File 'lib/amq/protocol/exceptions.rb', line 29

def initialize(types)
  super("Must be one of #{types.inspect}")
end