class Biblionet::Extractors::EmptyPageError
Raised when a page is considered empty.
Attributes
content_length[R]
url[R]
Public Class Methods
new(url, content_length)
click to toggle source
Calls superclass method
# File lib/bookshark/extractors/base.rb, line 164 def initialize(url, content_length) @url = url @content_length = content_length msg = "Page: #{url} is only #{content_length} bytes, so it is considered EMPTY." super(msg) end