GLib.VariantParseError

Error codes returned by parsing text-format GVariants.

VariantParseError.FAILED

generic error (unused)

VariantParseError.BASIC_TYPE_EXPECTED

a non-basic GLib.VariantType was given where a basic type was expected

VariantParseError.CANNOT_INFER_TYPE

cannot infer the GLib.VariantType

VariantParseError.DEFINITE_TYPE_EXPECTED

an indefinite GLib.VariantType was given where a definite type was expected

VariantParseError.INPUT_NOT_AT_END

extra data after parsing finished

VariantParseError.INVALID_CHARACTER

invalid character in number or unicode escape

VariantParseError.INVALID_FORMAT_STRING

not a valid GLib.Variant format string

VariantParseError.INVALID_OBJECT_PATH

not a valid object path

VariantParseError.INVALID_SIGNATURE

not a valid type signature

VariantParseError.INVALID_TYPE_STRING

not a valid GLib.Variant type string

VariantParseError.NO_COMMON_TYPE

could not find a common type for array entries

VariantParseError.NUMBER_OUT_OF_RANGE

the numerical value is out of range of the given type

VariantParseError.NUMBER_TOO_BIG

the numerical value is out of range for any type

VariantParseError.TYPE_ERROR

cannot parse as variant of the specified type

VariantParseError.UNEXPECTED_TOKEN

an unexpected token was encountered

VariantParseError.UNKNOWN_KEYWORD

an unknown keyword was encountered

VariantParseError.UNTERMINATED_STRING_CONSTANT

unterminated string constant

VariantParseError.VALUE_EXPECTED

no value given