Enumeration

GLibVariantParseError

Declaration

error-domain GLib.VariantParseError

Description [src]

Error codes returned by parsing text-format GVariants.

Members

G_VARIANT_PARSE_ERROR_FAILED

Generic error (unused).

  • Value: 0
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED

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

  • Value: 1
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE

Cannot infer the GVariantType.

  • Value: 2
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED

An indefinite GVariantType was given where a definite type was expected.

  • Value: 3
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END

Extra data after parsing finished.

  • Value: 4
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_INVALID_CHARACTER

Invalid character in number or unicode escape.

  • Value: 5
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING

Not a valid GVariant format string.

  • Value: 6
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH

Not a valid object path.

  • Value: 7
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE

Not a valid type signature.

  • Value: 8
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING

Not a valid GVariant type string.

  • Value: 9
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE

Could not find a common type for array entries.

  • Value: 10
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE

The numerical value is out of range of the given type.

  • Value: 11
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG

The numerical value is out of range for any type.

  • Value: 12
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_TYPE_ERROR

Cannot parse as variant of the specified type.

  • Value: 13
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN

An unexpected token was encountered.

  • Value: 14
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD

An unknown keyword was encountered.

  • Value: 15
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT

Unterminated string constant.

  • Value: 16
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_VALUE_EXPECTED

No value given.

  • Value: 17
  • Available since: 2.0
G_VARIANT_PARSE_ERROR_RECURSION

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

  • Value: 18
  • Available since: 2.0