2.34 <%GVariantParseError>

Enumeration: <%GVariantParseError>

Error codes returned by parsing text-format GVariants.

Members

failed

generic error (unused)

basic-type-expected

a non-basic <GVariantType> was given where a basic type was expected

cannot-infer-type

cannot infer the <GVariantType>

definite-type-expected

an indefinite <GVariantType> was given where a definite type was expected

input-not-at-end

extra data after parsing finished

invalid-character

invalid character in number or unicode escape

invalid-format-string

not a valid <GVariant> format string

invalid-object-path

not a valid object path

invalid-signature

not a valid type signature

invalid-type-string

not a valid <GVariant> type string

no-common-type

could not find a common type for array entries

number-out-of-range

the numerical value is out of range of the given type

number-too-big

the numerical value is out of range for any type

type-error

cannot parse as variant of the specified type

unexpected-token

an unexpected token was encountered

unknown-keyword

an unknown keyword was encountered

unterminated-string-constant

unterminated string constant

value-expected

no value given

recursion

variant was too deeply nested; <GVariant> is only guaranteed to handle nesting up to 64 levels (Since: 2.64)