Exception that is raised when an access to a resource is disallowed by robots.txt or by HTML document itself.
# File lib/mechanize/robots_disallowed_error.rb, line 24 24: def to_s 25: "Robots access is disallowed for URL: #{url}" 26: end
Returns the URL (URI object) of the resource that caused this error. URI::InvalidURIError may be raised if the URL happens to be invalid or not understood by the URI library.
# File lib/mechanize/robots_disallowed_error.rb, line 20 20: def uri 21: @uri ||= URI.parse(url) 22: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.