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
errorCodeintA 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
BasicTypeExpected
Can be used to match a GException with the "BasicTypeExpected" code (1).
public static VariantParseError BasicTypeExpected { get; }
Property Value
CannotInferType
Can be used to match a GException with the "CannotInferType" code (2).
public static VariantParseError CannotInferType { get; }
Property Value
DefiniteTypeExpected
Can be used to match a GException with the "DefiniteTypeExpected" code (3).
public static VariantParseError DefiniteTypeExpected { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (0).
public static VariantParseError Failed { get; }
Property Value
InputNotAtEnd
Can be used to match a GException with the "InputNotAtEnd" code (4).
public static VariantParseError InputNotAtEnd { get; }
Property Value
InvalidCharacter
Can be used to match a GException with the "InvalidCharacter" code (5).
public static VariantParseError InvalidCharacter { get; }
Property Value
InvalidFormatString
Can be used to match a GException with the "InvalidFormatString" code (6).
public static VariantParseError InvalidFormatString { get; }
Property Value
InvalidObjectPath
Can be used to match a GException with the "InvalidObjectPath" code (7).
public static VariantParseError InvalidObjectPath { get; }
Property Value
InvalidSignature
Can be used to match a GException with the "InvalidSignature" code (8).
public static VariantParseError InvalidSignature { get; }
Property Value
InvalidTypeString
Can be used to match a GException with the "InvalidTypeString" code (9).
public static VariantParseError InvalidTypeString { get; }
Property Value
NoCommonType
Can be used to match a GException with the "NoCommonType" code (10).
public static VariantParseError NoCommonType { get; }
Property Value
NumberOutOfRange
Can be used to match a GException with the "NumberOutOfRange" code (11).
public static VariantParseError NumberOutOfRange { get; }
Property Value
NumberTooBig
Can be used to match a GException with the "NumberTooBig" code (12).
public static VariantParseError NumberTooBig { get; }
Property Value
Recursion
Can be used to match a GException with the "Recursion" code (18).
public static VariantParseError Recursion { get; }
Property Value
TypeError
Can be used to match a GException with the "TypeError" code (13).
public static VariantParseError TypeError { get; }
Property Value
UnexpectedToken
Can be used to match a GException with the "UnexpectedToken" code (14).
public static VariantParseError UnexpectedToken { get; }
Property Value
UnknownKeyword
Can be used to match a GException with the "UnknownKeyword" code (15).
public static VariantParseError UnknownKeyword { get; }
Property Value
UnterminatedStringConstant
Can be used to match a GException with the "UnterminatedStringConstant" code (16).
public static VariantParseError UnterminatedStringConstant { get; }
Property Value
ValueExpected
Can be used to match a GException with the "ValueExpected" code (17).
public static VariantParseError ValueExpected { get; }
Property Value
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)