class Whois::WebInterfaceError
Raised when the class has found a server but it doesn't support the standard WHOIS interface via port 43. This is the case of some specific domains that only provide a web–based WHOIS interface. (x01)
Attributes
url[R]
@return [String] The URL of the web-based WHOIS interface.
Public Class Methods
new(url)
click to toggle source
Initializes a new exception with given URL.
@param [String] url The URL of the web-based WHOIS interface.
Calls superclass method
# File lib/whois/errors.rb, line 81 def initialize(url) @url = url super("This TLD has no WHOIS server, but you can access the WHOIS database at `#{@url}'") end