Sha256: 87f6bf95995a0e50f4570ace7248386b18f71ecb395652c3e63b50d7d09c4d99
Contents?: true
Size: 405 Bytes
Versions: 17
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true ## # This error is raised when a pluggable parser tries to parse a content type # that it does not know how to handle. For example if Mechanize::Page were to # try to parse a PDF, a ContentTypeError would be thrown. class Mechanize::ContentTypeError < Mechanize::Error attr_reader :content_type def initialize(content_type) @content_type = content_type end end
Version data entries
17 entries across 17 versions & 1 rubygems