Table of Contents

Struct UriError

Namespace
GLib
Assembly
GLib-2.0.dll

Contains all error codes of the UriError error-domain.

public readonly ref struct UriError
Inherited Members

Constructors

UriError(int)

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

public UriError(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 "UriError" error-domain.

public static Quark Any { get; }

Property Value

Quark

BadAuthParams

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

public static UriError BadAuthParams { get; }

Property Value

UriError

BadFragment

Can be used to match a GException with the "BadFragment" code (9).

public static UriError BadFragment { get; }

Property Value

UriError

BadHost

Can be used to match a GException with the "BadHost" code (5).

public static UriError BadHost { get; }

Property Value

UriError

BadPassword

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

public static UriError BadPassword { get; }

Property Value

UriError

BadPath

Can be used to match a GException with the "BadPath" code (7).

public static UriError BadPath { get; }

Property Value

UriError

BadPort

Can be used to match a GException with the "BadPort" code (6).

public static UriError BadPort { get; }

Property Value

UriError

BadQuery

Can be used to match a GException with the "BadQuery" code (8).

public static UriError BadQuery { get; }

Property Value

UriError

BadScheme

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

public static UriError BadScheme { get; }

Property Value

UriError

BadUser

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

public static UriError BadUser { get; }

Property Value

UriError

Failed

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

public static UriError Failed { get; }

Property Value

UriError

Operators

implicit operator ErrorCode(UriError)

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

public static implicit operator ErrorCode(UriError e)

Parameters

e UriError

Returns

ErrorCode