Exception: GorgonAMQ::Protocol::FrameTypeError
- Defined in:
- lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/exceptions.rb
Constant Summary
Constants inherited from Error
Instance Method Summary collapse
-
#initialize(types) ⇒ FrameTypeError
constructor
A new instance of FrameTypeError.
Methods inherited from Error
[], inherited, subclasses_with_values
Constructor Details
#initialize(types) ⇒ FrameTypeError
Returns a new instance of FrameTypeError.
29 30 31 |
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/exceptions.rb', line 29 def initialize(types) super("Must be one of #{types.inspect}") end |