Table of Contents

Struct TLDError

Namespace
Soup
Assembly
Soup-3.0.dll

Contains all error codes of the TLDError error-domain.

public readonly ref struct TLDError
Inherited Members

Constructors

TLDError(int)

Creates a new error in the TLDError domain with a given error code.

public TLDError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "TLDError" error-domain.

public static Quark Any { get; }

Property Value

Quark

InvalidHostname

Can be used to match a GException with the "InvalidHostname" code (0).

public static TLDError InvalidHostname { get; }

Property Value

TLDError

IsIpAddress

Can be used to match a GException with the "IsIpAddress" code (1).

public static TLDError IsIpAddress { get; }

Property Value

TLDError

NoBaseDomain

Can be used to match a GException with the "NoBaseDomain" code (3).

public static TLDError NoBaseDomain { get; }

Property Value

TLDError

NoPslData

Can be used to match a GException with the "NoPslData" code (4).

public static TLDError NoPslData { get; }

Property Value

TLDError

NotEnoughDomains

Can be used to match a GException with the "NotEnoughDomains" code (2).

public static TLDError NotEnoughDomains { get; }

Property Value

TLDError

Operators

implicit operator ErrorCode(TLDError)

Converts a TLDError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(TLDError e)

Parameters

e TLDError

Returns

ErrorCode