Value | Meaning |
---|---|
Failed0 | generic error (unused) |
BasicTypeExpected1 | a non-basic #GVariantType was given where a basic type was expected |
CannotInferType2 | cannot infer the #GVariantType |
DefiniteTypeExpected3 | an indefinite #GVariantType was given where a definite type was expected |
InputNotAtEnd4 | extra data after parsing finished |
InvalidCharacter5 | invalid character in number or unicode escape |
InvalidFormatString6 | not a valid #GVariant format string |
InvalidObjectPath7 | not a valid object path |
InvalidSignature8 | not a valid type signature |
InvalidTypeString9 | not a valid #GVariant type string |
NoCommonType10 | could not find a common type for array entries |
NumberOutOfRange11 | the numerical value is out of range of the given type |
NumberTooBig12 | the numerical value is out of range for any type |
TypeError13 | cannot parse as variant of the specified type |
UnexpectedToken14 | an unexpected token was encountered |
UnknownKeyword15 | an unknown keyword was encountered |
UnterminatedStringConstant16 | unterminated string constant |
ValueExpected17 | no value given |
Recursion18 | variant was too deeply nested; #GVariant is only guaranteed to handle nesting up to 64 levels (Since: 2.64) |
Error codes returned by parsing text-format GVariants.