Table of Contents

Struct VariantParseError

Namespace
GLib
Assembly
GLib-2.0.dll

Contains all error codes of the VariantParseError error-domain.

public readonly ref struct VariantParseError
Inherited Members

Constructors

VariantParseError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

BasicTypeExpected

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

public static VariantParseError BasicTypeExpected { get; }

Property Value

VariantParseError

CannotInferType

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

public static VariantParseError CannotInferType { get; }

Property Value

VariantParseError

DefiniteTypeExpected

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

public static VariantParseError DefiniteTypeExpected { get; }

Property Value

VariantParseError

Failed

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

public static VariantParseError Failed { get; }

Property Value

VariantParseError

InputNotAtEnd

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

public static VariantParseError InputNotAtEnd { get; }

Property Value

VariantParseError

InvalidCharacter

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

public static VariantParseError InvalidCharacter { get; }

Property Value

VariantParseError

InvalidFormatString

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

public static VariantParseError InvalidFormatString { get; }

Property Value

VariantParseError

InvalidObjectPath

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

public static VariantParseError InvalidObjectPath { get; }

Property Value

VariantParseError

InvalidSignature

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

public static VariantParseError InvalidSignature { get; }

Property Value

VariantParseError

InvalidTypeString

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

public static VariantParseError InvalidTypeString { get; }

Property Value

VariantParseError

NoCommonType

Can be used to match a GException with the "NoCommonType" code (10).

public static VariantParseError NoCommonType { get; }

Property Value

VariantParseError

NumberOutOfRange

Can be used to match a GException with the "NumberOutOfRange" code (11).

public static VariantParseError NumberOutOfRange { get; }

Property Value

VariantParseError

NumberTooBig

Can be used to match a GException with the "NumberTooBig" code (12).

public static VariantParseError NumberTooBig { get; }

Property Value

VariantParseError

Recursion

Can be used to match a GException with the "Recursion" code (18).

public static VariantParseError Recursion { get; }

Property Value

VariantParseError

TypeError

Can be used to match a GException with the "TypeError" code (13).

public static VariantParseError TypeError { get; }

Property Value

VariantParseError

UnexpectedToken

Can be used to match a GException with the "UnexpectedToken" code (14).

public static VariantParseError UnexpectedToken { get; }

Property Value

VariantParseError

UnknownKeyword

Can be used to match a GException with the "UnknownKeyword" code (15).

public static VariantParseError UnknownKeyword { get; }

Property Value

VariantParseError

UnterminatedStringConstant

Can be used to match a GException with the "UnterminatedStringConstant" code (16).

public static VariantParseError UnterminatedStringConstant { get; }

Property Value

VariantParseError

ValueExpected

Can be used to match a GException with the "ValueExpected" code (17).

public static VariantParseError ValueExpected { get; }

Property Value

VariantParseError

Operators

implicit operator ErrorCode(VariantParseError)

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

public static implicit operator ErrorCode(VariantParseError e)

Parameters

e VariantParseError

Returns

ErrorCode