Class WWW::Mechanize::ContentTypeError
In: lib/mechanize/errors.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

[Validate]