Exception: PublicSuffixService::DomainInvalid

Inherits:
Error
  • Object
show all
Defined in:
lib/public_suffix_service/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:


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

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

Since:

  • 0.6.0

Direct Known Subclasses

DomainNotAllowed