Table of Contents

Struct KeyFileError

Namespace
GLib
Assembly
GLib-2.0.dll

Contains all error codes of the KeyFileError error-domain.

public readonly ref struct KeyFileError
Inherited Members

Constructors

KeyFileError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

GroupNotFound

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

public static KeyFileError GroupNotFound { get; }

Property Value

KeyFileError

InvalidValue

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

public static KeyFileError InvalidValue { get; }

Property Value

KeyFileError

KeyNotFound

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

public static KeyFileError KeyNotFound { get; }

Property Value

KeyFileError

NotFound

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

public static KeyFileError NotFound { get; }

Property Value

KeyFileError

Parse

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

public static KeyFileError Parse { get; }

Property Value

KeyFileError

UnknownEncoding

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

public static KeyFileError UnknownEncoding { get; }

Property Value

KeyFileError

Operators

implicit operator ErrorCode(KeyFileError)

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

public static implicit operator ErrorCode(KeyFileError e)

Parameters

e KeyFileError

Returns

ErrorCode