class PublicSuffix::DomainInvalid

Overview

Raised when trying to parse an invalid name. A name is considered invalid when no rule is found in the definition list.

@example

PublicSuffix.parse("nic.test")

=> PublicSuffix::DomainInvalid

PublicSuffix.parse("http://www.nic.it")

=> PublicSuffix::DomainInvalid

Direct Known Subclasses

Defined in:

public_suffix/errors.cr