Exception: Camo::Errors::UnsupportedContentTypeError

Inherits:
ClientError show all
Defined in:
lib/camo/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(content_type, message = "Unsupported Content-Type: '#{content_type}'") ⇒ UnsupportedContentTypeError

Returns a new instance of UnsupportedContentTypeError.



38
39
40
# File 'lib/camo/errors.rb', line 38

def initialize(content_type, message = "Unsupported Content-Type: '#{content_type}'")
  super(message)
end