Exception: PublicSuffix::DomainInvalid

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

Overview

Raised when trying to parse an invalid name. A name 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

Direct Known Subclasses

DomainNotAllowed