Exception: PublicSuffix::DomainNotAllowed

Inherits:
DomainInvalid show all
Defined in:
lib/public_suffix/errors.rb

Overview

Raised when trying to parse a name that matches a suffix.

Examples:


PublicSuffix.parse("nic.do")
# => PublicSuffix::DomainNotAllowed

PublicSuffix.parse("www.nic.do")
# => PublicSuffix::Domain