Class: WWW::Mechanize::ContentTypeError

Class | WWW::Mechanize::ContentTypeError
In: | lib/www/mechanize/content_type_error.rb
Parent: | RuntimeError

# Synopsis

This class contains an error for when a pluggable parser tries to parse a content type that it does not know how to handle. For example if WWW::Mechanize::Page were to try to parse a PDF, a ContentTypeError would be thrown.

### Methods

new

### Attributes

content_type | [R] |

### Public Class methods

new(content_type)

[Validate]