TLDError#
- class TLDError#
Error codes for %SOUP_TLD_ERROR.
Methods#
- class TLDError
- quark() int#
Registers error quark for
tld_get_base_domain()if needed.
Fields#
- class TLDError
- INVALID_HOSTNAME#
A hostname was syntactically invalid.
- IS_IP_ADDRESS#
The passed-in “hostname” was actually an IP address (and thus has no base domain or public suffix).
- NOT_ENOUGH_DOMAINS#
The passed-in hostname did not have enough components. Eg, calling
tld_get_base_domainon <literal>”co.uk”</literal>.
- NO_BASE_DOMAIN#
The passed-in hostname has no recognized public suffix.
- NO_PSL_DATA#
The Public Suffix List was not available.