SoupTLDError

Error codes for %SOUP_TLD_ERROR.

Values

ValueMeaning
INVALID_HOSTNAME0

A hostname was syntactically invalid.

IS_IP_ADDRESS1

The passed-in "hostname" was actually an IP address (and thus has no base domain or public suffix).

NOT_ENOUGH_DOMAINS2

The passed-in hostname did not have enough components. Eg, calling soup_tld_get_base_domain() on <literal>"co.uk"</literal>.

NO_BASE_DOMAIN3

The passed-in hostname has no recognized public suffix.

NO_PSL_DATA4

Meta

Since

2.40