Exception: PublicSuffix::DomainInvalid

Inherits:
Error
  • Object
show all
Defined in:
lib/public_suffix/errors.rb

Overview

Raised when trying to parse an invalid domain. A domain is considered invalid when no rule is found in the definition list.

Examples:


PublicSuffix.parse("nic.test")
# => PublicSuffix::DomainInvalid

PublicSuffix.parse("http://www.nic.it")
# => PublicSuffix::DomainInvalid

Since:

  • 0.6.0

Direct Known Subclasses

DomainNotAllowed