Exception: Camo::Errors::UnsupportedContentTypeError
- Inherits:
-
ClientError
- Object
- StandardError
- AppError
- ClientError
- Camo::Errors::UnsupportedContentTypeError
- Defined in:
- lib/camo/errors.rb
Instance Method Summary collapse
-
#initialize(content_type, message = "Unsupported Content-Type: '#{content_type}'") ⇒ UnsupportedContentTypeError
constructor
A new instance of UnsupportedContentTypeError.
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, = "Unsupported Content-Type: '#{content_type}'") super() end |