Table of Contents

Struct ResourceError

Namespace
Gio
Assembly
Gio-2.0.dll

Contains all error codes of the ResourceError error-domain.

public readonly ref struct ResourceError
Inherited Members

Constructors

ResourceError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

Internal

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

public static ResourceError Internal { get; }

Property Value

ResourceError

NotFound

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

public static ResourceError NotFound { get; }

Property Value

ResourceError

Operators

implicit operator ErrorCode(ResourceError)

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

public static implicit operator ErrorCode(ResourceError e)

Parameters

e ResourceError

Returns

ErrorCode