| Class | PublicSuffix::DomainNotAllowed |
| In: |
lib/public_suffix/errors.rb
|
| Parent: | DomainInvalid |
Raised when trying to parse a domain which is formally defined by a rule, but the rules set a requirement which is not satisfied by the input you are trying to parse.
@example
PublicSuffix.parse("nic.do")
# => PublicSuffix::DomainNotAllowed
PublicSuffix.parse("www.nic.do")
# => PublicSuffix::Domain
@since 0.6.0