Table of Contents

Struct ResolverError

Namespace
Gio
Assembly
Gio-2.0.dll

Contains all error codes of the ResolverError error-domain.

public readonly ref struct ResolverError
Inherited Members

Constructors

ResolverError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

Internal

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

public static ResolverError Internal { get; }

Property Value

ResolverError

NotFound

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

public static ResolverError NotFound { get; }

Property Value

ResolverError

TemporaryFailure

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

public static ResolverError TemporaryFailure { get; }

Property Value

ResolverError

Operators

implicit operator ErrorCode(ResolverError)

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

public static implicit operator ErrorCode(ResolverError e)

Parameters

e ResolverError

Returns

ErrorCode