Module: GLib::VariantParseError

Defined in:
(unknown)

Constant Summary collapse

FAILED =

generic error (unused)

0 or :failed
BASIC_TYPE_EXPECTED =

a non-basic GVariant::Type was given where a basic type was expected

1 or :basic_type_expected
CANNOT_INFER_TYPE =

cannot infer the GVariant::Type

2 or :cannot_infer_type
DEFINITE_TYPE_EXPECTED =

an indefinite GVariant::Type was given where a definite type was expected

3 or :definite_type_expected
INPUT_NOT_AT_END =

extra data after parsing finished

4 or :input_not_at_end
INVALID_CHARACTER =

invalid character in number or unicode escape

5 or :invalid_character
INVALID_FORMAT_STRING =

not a valid #GVariant format string

6 or :invalid_format_string
INVALID_OBJECT_PATH =

not a valid object path

7 or :invalid_object_path
INVALID_SIGNATURE =

not a valid type signature

8 or :invalid_signature
INVALID_TYPE_STRING =

not a valid #GVariant type string

9 or :invalid_type_string
NO_COMMON_TYPE =

could not find a common type for array entries

10 or :no_common_type
NUMBER_OUT_OF_RANGE =

the numerical value is out of range of the given type

11 or :number_out_of_range
NUMBER_TOO_BIG =

the numerical value is out of range for any type

12 or :number_too_big
TYPE_ERROR =

cannot parse as variant of the specified type

13 or :type_error
UNEXPECTED_TOKEN =

an unexpected token was encountered

14 or :unexpected_token
UNKNOWN_KEYWORD =

an unknown keyword was encountered

15 or :unknown_keyword
UNTERMINATED_STRING_CONSTANT =

unterminated string constant

16 or :unterminated_string_constant
VALUE_EXPECTED =

no value given

17 or :value_expected
RECURSION =

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

18 or :recursion