Exception: Plugin::Thumbnailer::UnsupportedMediaTypeError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Plugin::Thumbnailer::UnsupportedMediaTypeError
- Defined in:
- lib/httpthumbnailer/plugin/thumbnailer.rb
Instance Method Summary collapse
-
#initialize(error) ⇒ UnsupportedMediaTypeError
constructor
A new instance of UnsupportedMediaTypeError.
Constructor Details
#initialize(error) ⇒ UnsupportedMediaTypeError
Returns a new instance of UnsupportedMediaTypeError.
36 37 38 |
# File 'lib/httpthumbnailer/plugin/thumbnailer.rb', line 36 def initialize(error) super("unsupported media type: #{error}") end |