Exception: AMQP::Client::Error::UnsupportedContentType

Inherits:
AMQP::Client::Error show all
Defined in:
lib/amqp/client/errors.rb

Overview

Raised if trying to parse a message with an unsupported content type

Instance Method Summary collapse

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