class PublicSuffix::DomainNotAllowed

Overview

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

@example

PublicSuffix.parse("nic.do")

=> PublicSuffix::DomainNotAllowed

PublicSuffix.parse("www.nic.do")

=> PublicSuffix::Domain

Defined in:

public_suffix/errors.cr