Exception: AMQP::Client::Error::UnsupportedContentType
- Inherits:
-
AMQP::Client::Error
- Object
- StandardError
- AMQP::Client::Error
- AMQP::Client::Error::UnsupportedContentType
- Defined in:
- lib/amqp/client/errors.rb
Overview
Raised if trying to parse a message with an unsupported content type
Instance Method Summary collapse
-
#initialize(content_type) ⇒ UnsupportedContentType
constructor
A new instance of UnsupportedContentType.
Constructor Details
#initialize(content_type) ⇒ UnsupportedContentType
Returns a new instance of UnsupportedContentType.
125 126 127 |
# File 'lib/amqp/client/errors.rb', line 125 def initialize(content_type) super("Unsupported content type #{content_type}") end |