GLib.VariantParseError – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
VariantParseError
BASIC_TYPE_EXPECTED
CANNOT_INFER_TYPE
DEFINITE_TYPE_EXPECTED
FAILED
INPUT_NOT_AT_END
INVALID_CHARACTER
INVALID_FORMAT_STRING
INVALID_OBJECT_PATH
INVALID_SIGNATURE
INVALID_TYPE_STRING
NO_COMMON_TYPE
NUMBER_OUT_OF_RANGE
NUMBER_TOO_BIG
TYPE_ERROR
UNEXPECTED_TOKEN
UNKNOWN_KEYWORD
UNTERMINATED_STRING_CONSTANT
VALUE_EXPECTED
VariantParseError
Description:
public
errordomain
VariantParseError
Error codes returned by parsing text-format GVariants.
Namespace:
GLib
Package:
glib-2.0
Content:
Error codes:
FAILED
-
generic error (unused)
BASIC_TYPE_EXPECTED
-
a non-basic
VariantType
was given where a basic type was expected
CANNOT_INFER_TYPE
-
cannot infer the
VariantType
DEFINITE_TYPE_EXPECTED
-
an indefinite
VariantType
was given where a definite type was expected
INPUT_NOT_AT_END
-
extra data after parsing finished
INVALID_CHARACTER
-
invalid character in number or unicode escape
INVALID_FORMAT_STRING
-
not a valid
Variant
format string
INVALID_OBJECT_PATH
-
not a valid object path
INVALID_SIGNATURE
-
not a valid type signature
INVALID_TYPE_STRING
-
not a valid
Variant
type string
NO_COMMON_TYPE
-
could not find a common type for array entries
NUMBER_OUT_OF_RANGE
-
the numerical value is out of range of the given type
NUMBER_TOO_BIG
-
the numerical value is out of range for any type
TYPE_ERROR
-
cannot parse as variant of the specified type
UNEXPECTED_TOKEN
-
an unexpected token was encountered
UNKNOWN_KEYWORD
-
an unknown keyword was encountered
UNTERMINATED_STRING_CONSTANT
-
unterminated string constant
VALUE_EXPECTED
-
no value given