GVariantParseError

Error codes returned by parsing text-format GVariants.

Values

ValueMeaning
FAILED0

generic error (unused)

BASIC_TYPE_EXPECTED1

a non-basic #GVariantType was given where a basic type was expected

CANNOT_INFER_TYPE2

cannot infer the #GVariantType

DEFINITE_TYPE_EXPECTED3

an indefinite #GVariantType was given where a definite type was expected

INPUT_NOT_AT_END4

extra data after parsing finished

INVALID_CHARACTER5

invalid character in number or unicode escape

INVALID_FORMAT_STRING6

not a valid #GVariant format string

INVALID_OBJECT_PATH7

not a valid object path

INVALID_SIGNATURE8

not a valid type signature

INVALID_TYPE_STRING9

not a valid #GVariant type string

NO_COMMON_TYPE10

could not find a common type for array entries

NUMBER_OUT_OF_RANGE11

the numerical value is out of range of the given type

NUMBER_TOO_BIG12

the numerical value is out of range for any type

TYPE_ERROR13

cannot parse as variant of the specified type

UNEXPECTED_TOKEN14

an unexpected token was encountered

UNKNOWN_KEYWORD15

an unknown keyword was encountered

UNTERMINATED_STRING_CONSTANT16

unterminated string constant

VALUE_EXPECTED17

no value given

Meta