<%GLibVariantParseError>

<%GLibVariantParseError>

Description

Error codes returned by parsing text-format GVariants.

Members

failed

alias G_VARIANT_PARSE_ERROR_FAILED

generic error (unused)

basic-type-expected

alias G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED

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

cannot-infer-type

alias G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE

cannot infer the GVariantType

definite-type-expected

alias G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED

an indefinite GVariantType was given where a definite type was expected

input-not-at-end

alias G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END

extra data after parsing finished

invalid-character

alias G_VARIANT_PARSE_ERROR_INVALID_CHARACTER

invalid character in number or unicode escape

invalid-format-string

alias G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING

not a valid GVariant format string

invalid-object-path

alias G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH

not a valid object path

invalid-signature

alias G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE

not a valid type signature

invalid-type-string

alias G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING

not a valid GVariant type string

no-common-type

alias G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE

could not find a common type for array entries

number-out-of-range

alias G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE

the numerical value is out of range of the given type

number-too-big

alias G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG

the numerical value is out of range for any type

type-error

alias G_VARIANT_PARSE_ERROR_TYPE_ERROR

cannot parse as variant of the specified type

unexpected-token

alias G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN

an unexpected token was encountered

unknown-keyword

alias G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD

an unknown keyword was encountered

unterminated-string-constant

alias G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT

unterminated string constant

value-expected

alias G_VARIANT_PARSE_ERROR_VALUE_EXPECTED

no value given

recursion

alias G_VARIANT_PARSE_ERROR_RECURSION

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