Exception: MediaTypes::Deserialization::ContentDoesNotMatchContentType
- Inherits:
-
Error
- Object
- RuntimeError
- Error
- MediaTypes::Deserialization::ContentDoesNotMatchContentType
- Defined in:
- lib/media_types/deserialization/content_does_not_match_content_type.rb
Instance Method Summary collapse
-
#initialize(source) ⇒ ContentDoesNotMatchContentType
constructor
A new instance of ContentDoesNotMatchContentType.
Constructor Details
#initialize(source) ⇒ ContentDoesNotMatchContentType
Returns a new instance of ContentDoesNotMatchContentType.
6 7 8 9 |
# File 'lib/media_types/deserialization/content_does_not_match_content_type.rb', line 6 def initialize(source) set_backtrace(source.backtrace) super source. end |