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
errorCodeintA 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
GroupNotFound
Can be used to match a GException with the "GroupNotFound" code (4).
public static KeyFileError GroupNotFound { get; }
Property Value
InvalidValue
Can be used to match a GException with the "InvalidValue" code (5).
public static KeyFileError InvalidValue { get; }
Property Value
KeyNotFound
Can be used to match a GException with the "KeyNotFound" code (3).
public static KeyFileError KeyNotFound { get; }
Property Value
NotFound
Can be used to match a GException with the "NotFound" code (2).
public static KeyFileError NotFound { get; }
Property Value
Parse
Can be used to match a GException with the "Parse" code (1).
public static KeyFileError Parse { get; }
Property Value
UnknownEncoding
Can be used to match a GException with the "UnknownEncoding" code (0).
public static KeyFileError UnknownEncoding { get; }
Property Value
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)